val numbers = arrayOf(1, 2, 3, 4, 5) // 获取数组的反转数组, 反转数组: [5, 4, 3, 2, 1] numbers.reversedArray().forEach { _console.log(it) }