apply
Invokes this function as a method of the specified object
passing the specified Array of arguments.
Parameters:
thisobj
-
the object to which the function is applied.
args
-
Array of values or an arguments object to be passed as arguments to the function.
Returns:
whatever value is returned by the invocation of the function.
call
Invokes this function as a method of the specified object
passing the specified optional arguments.
Parameters:
thisobj
-
the object to which the function is applied.
args
-
an optional list of one or more arguments values that are passed as arguments to the function.
Returns:
whatever value is returned by the invocation of the function.