表单 账号:
匿名函数let sum = function (a,b) {return a + b;} 箭头函数sum = (a,b) => {return a + b;} 如果函数体只有一条语句,还可以简化为:sum = (a, b) => a + b; ...