val numbers1 = arrayOf(1, 2, 3) val numbers2 = mutableListOf(4, 5, 6) // 将两个数组合并成一个新数组,合并后的数组: [1, 2, 3, 4, 5, 6] numbers1.plus(numbers2).forEach { _console.log(it) }