callOf()
Gets the call()
function for the specified function.
call()
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 call()
will be returned which will use the first argument as the this
keyword and all subsequent parameters will be normal arguments. Otherwise a function which accepts only arguments (not the this
keyword definition) will be returned.This function directly requires the following function which is included automatically:
applyOf()
apply()
function for the specified function.
This function is directly required by the following function:
applyOf()
apply()
function for the specified function.