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