JavaScript中arguments的使用 <script> function fn(){ console.log(arguments);//伪数组,传递所有实参 只有函数才有arguments对象 } fn(1,2,3); </script>