Built-In Namespace Function
| Method Attributes | Method Name and Description |
|---|---|
|
bind(oThis, aVarArgs)
Replacement for ECMAScript 5 feature which might still be missing.
|
Method Detail
{function}
bind(oThis, aVarArgs)
Replacement for ECMAScript 5 feature which might still be missing.
Defined in: utils.js.
Defined in: utils.js.
- Parameters:
- {object} oThis
- The value to be passed as the
thisparameter to the target function when the bound function is called. The value is ignored if the bound function is constructed using thenewoperator. - {...object} aVarArgs
- Arguments to prepend to arguments provided to the bound function when invoking the target function.
- Returns:
- {function} A function with the bound arguments aVarArgs
- See:
- bind in ECMAScript 5