Binding a function

A function's bind method returns a new function where this is permanently "bound" to the given value.

It is especially useful when passing functions as values.

Was this page helpful?