WTF is THIS: Understanding the “this” keyword in JavaScript



I could argue that one of the most misunderstood aspects of JavaScript is the “this” keyword. In this video, we’ll walk through three techniques for figuring out what the “this” keyword is referencing. They are 1) Implicit Binding 2) Explicit Binding 3) new and window binding.

In covering these techniques we’ll also cover some other confusing parts of JavaScript as well. call, apply, bind, and the new keyword.

Site: https://tylermcginnis.com
Twitter: https://twitter.com/tylermcginnis

source

Reply

Do NOT follow this link or you will be banned from the site!