2.1.61 [ECMA-262-1999] Section, Function.prototype.apply (thisArg, argArray)


The apply method takes two arguments, thisArg and argArray, and performs a function call using the [[Call]] property of the object. If the object does not have a [[Call]] property, a TypeError exception is thrown.

#If thisArg is null or undefined, the called function is passed the global object as the this value. Otherwise, the called function is passed ToObject(thisArg) as the this value.# __If no arguments are present, the global object is used as the value of thisArg.__