- 链接地址:https://blog.csdn.net/qq_41613385/article/details/103612191
- 链接标题:JavaScript_函数_function fn1-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:8845
arguments对象获取函数参数window.onload=function(){ f(1,2,3,4);};function f(){ console.log(arguments.length);//实际传递的参数数量 console.log(arguments);}含有默认值的参数window.onload=function(){ f('张三');};funct..._function fn1
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除
标签:function fn1