javascript:函数之arguments对象
摘要:
function fun(a,b){ arguments.length//传递的参数个数 fun.length//定义的参数个数,本例为2 arguments[i]//取得参数的值 arguments.callee(a,b); //即相当于fun(a,b); } 阅读全文
posted @ 2012-03-12 10:51 为你而来 阅读(99) 评论(0) 推荐(0) 编辑
posted @ 2012-03-12 10:51 为你而来 阅读(99) 评论(0) 推荐(0) 编辑