val numbers = arrayOf(10, 20, 30, 5, 15) // 查找数组中的最大值 val maxValue = numbers.maxOf { it } // 输出:最大值: 30 _console.log("最大值: ", maxValue)