Class: Function

barejs/polyfill.Function()

new Function()

Polyfills for Function.

Source:

Methods

bind(_thisArg) → {function}

Bind a function to a specific context. Allows for additional prefix arguments to be specified.

Parameters:
Name Type Description
_thisArg object

The context to bind this method to.

Source:
Returns:

A function that will invoke the original function in the specified context, optionally with additional parameters prefixed.

Type
function