javascript函数的形参和实参 function f(x,y,z){ if(f.length != arguments.length){ //形参个数不等于实参个数 } else{ //形参个数等于实参个数 } }