JavaScript 三个数求和的函数,三个参数var sum = function(a,b,c){ return a + b + c}var result = sum(1,2,3) 1+2+3 不限参数个数的var sum2 = function(){ var r2023-04-22JavaScript270