applyOf()
Gets the apply()
function for the specified function.
apply()
function.fn
is a string then this will be used as the parent object to reference the actual function.this
keyword by fn
(the function). If not given, the first argument passed to the returned function will be referenced as the this
keyword.opt_objThis
is not passed, a version of apply()
will be returned which will use the first argument as the this
keyword and the subsequent argument (which should be an array or an array-like object) as the normal arguments. Otherwise a function which accepts only the array of arguments (not the this
keyword definition) will be returned.This function directly requires the following function which is included automatically:
callOf()
call()
function for the specified function.
This function is directly required by the following function:
callOf()
call()
function for the specified function.