Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a method of an object, substituting another object for the current object.
function apply([thisObj : Object [,argArray : { Array | arguments }]])
Arguments
- thisObj 
 Optional. The object to be used as the current object.
- argArray 
 Optional. Array of arguments or an arguments object to be passed to the function.
Remarks
If argArray is not a valid array or is not the arguments object, then a TypeError results.
If neither argArray nor thisObj are supplied, the global object is used as thisObj and is passed no arguments.