The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

The "this" keyword: Explicit Binding with call, apply, and bind

The "this" keyword: Explicit Binding with call, apply, and bind

4:32
In this lesson we talk about .call, .apply, and .bind in order to understand "explicit binding", or the second rule of discovering what the "this" keyword is referencing in JavaScript.
Watch this lesson now
Avatar
egghead.io

In this lesson we talk about .call, .apply, and .bind in order to understand "explicit binding", or the second rule of discovering what the "this" keyword is referencing in JavaScript.

Avatar
Joshua

It seems like .bind is useful for cleaning and contextually connecting/centralizing modular code; i.e. function over here in location 1, objects over there in location 2, use .bind to create a brand new function to meet our needs in this particular location 3.

In reply to egghead.io
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?