有关JS中function的参数 1 function a(){ 2 console.log(arguments.length) 3 } 4 a(10) arguments是就是传递的参数,是以一个数组的形式来保存参数的