摘要: 记录一下:1.arguments是一个对象, 是函数的一个特性,只有在函数内才具有这个特性,在函数外部不用使用。举例:function test(){ alert(typeof arguments); //object } alert(typeof arguments); //undefined2.callee,callercallee 表示当前正在使用的函数,例如 arguments.callee 表示testcaller 表示当前函数的调用者,如果在最顶层 那么就为 null ,如 test() 为 null ;test2() 为testfunction test(){ aler... 阅读全文
posted @ 2012-09-07 19:02 yupeng 阅读(777) 评论(1) 推荐(2) 编辑