function sum(a,b){ console.log(a+b); }console.log(sum.length);// 2,表示期望接受的参数sum(1,2,3);//3,arguments对象中保存的是实际接受的参数