// 定义函数 function sum(a, b) { return a + b } // 调用函数 $console.log(sum(1, 2))