// 定义函数 fun sum(a: Int, b: Int): Int { return a + b } // 调用函数 _console.log(sum(1, 2))