.bind()

every functions new hot "this"

.bind()

.apply()

.call()

.bind()

The bind() method creates a new function that, when called, has its this keyword set to the provided value, with a given sequence of arguments preceding any provided when the new function is called.

.bind()

Takes an existing function.

Makes a new version of it.

Changes the "this".

Does some cool argument s*&#t (not really that important)

deck

By iharvey

deck

  • 382