javascript忍者秘籍-第四章 理解函数调用

调用函数时,隐式的函数参数 this 和 arguments 会被静默的传递给函数 this 表示调用函数的上下文对象 arguments 表示函数调用过程中传递的所有参数。通过 arguments 参数可以访问 函数调用过程中传递的实际参数。 函数调用的方式 对 函数的隐式参数有很大的影响 4.1 隐式的函数参数 arguments 和 this ...