Todo
Descriptions
Example:
var oMyFunction = function() { }
An array of the arguments passed to the function. (Read Only)
Example:
function sum(){ var nTotal = 0; for( var i = 0; i < arguments.length; i++ ){ nTotal += arguments[ i ]; } return nTotal; } var nSum = sum( 2, 3, 4, 5 ); // nSum: 14
Holds the “typical” number of arguments expected by the function.
Function( String p1, String p2, …, String pn, String body )
Default Constructor. Creates a new function. All arguments are optional - zero or more argument names may be specified, the last argument, if any, is always used as the body of the function.
Parameter(s):
Object : apply( Object thisArg, Array argArray )
Performs a function call with a given this value and argArray
arguments.
Note:
Parameter(s):
undefined
, or not provided, the global object is used.Return Value:
void : bind( Object thisArg, … )
Creates a new function that, when called, has its this keyword set to thisArg
, with the given sequence of arguments preceding any provided when the new function is called.
Parameter(s):
undefined
, or not provided, the global object is used.Object : call( Object thisArg, … )
Performs a function call with a given this value and optional arguments.
Note:
Parameter(s):
Return Value:
Return Value: