概念学习
- 什么是arguments?
在函数代码中,使用特殊对象 arguments,无需明确指出参数名,就能访问它们
还可以用 arguments 对象检测函数的参数个数,引用属性 arguments.length 即可。
完成地址
https://jsbin.com/mosemoqadu/1/edit?js,console
https://jsbin.com/mosemoqadu/1/edit?js,console
本文标题:过程记录文档-ECMAScript arguments对象
本文链接:https://www.haomeiwen.com/subject/keyypttx.html
网友评论