Binding a function
A function's bind
method returns a new function where this
is permanently "bound" to the given value.
Loading TypeScript...
It is especially useful when passing functions as values.
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.