arguments 是一个类数组对象。表明传给一个function的参数列表。数组
function a() { console.log(arguments); } a("A", "b", 1);
输出安全
["A", "b", 1]
arguments.callee 指向当前执行的函数。函数
arguments.callee
递归中经常使用,避免函数修改后出错,提升代码的安全性、稳定性。code
arguments.length
arguments.caller指向调用当前函数的函数。对象
arguments.caller