new Function()
Native function prototype.
- Source:
Methods
-
bind(context) → {function}
-
Binds "this" context of function to a specific object.
Parameters:
Name Type Description context
Object Object to act as parent (this) of function call.
- Source:
- See:
Returns:
Wrapper function.
- Type
- function
-
context(context) → {function}
-
Binds "this" context of function to a specific object.
Parameters:
Name Type Description context
Object Object to act as parent (this) of function call.
- Source:
- See:
Returns:
Wrapper function.
- Type
- function