keyword (this and arguments) in function --- 涉及递归

arguments 就像一个数组一样,包含了传递给这个函数的参数 ,

以上部分为this的介绍,注意arguments.callee  属性 ,可用于递归调用,其代表的是  : 当前正在运行函数的引用  ,

用法 如下

arguments.length 返回的是 传递给这个函数参数的数量

posted @ 2014-08-02 12:11  米姐  阅读(143)  评论(0编辑  收藏  举报