
JSJ 449: The Things Every JavaScript Developer Must Know
JavaScript Jabber
00:00
The This Keyword in Java Script
The behaviour of this in java script is kind of different than almost any other object oriented programming language that uses this. I think people mostly get confused about what happens when you invoke a method in java script and whether it's with apply or call or bind. If i can avoid it, then i don't use this at all. It's becoming easier thanks to aero functions that literally don't have this - which is also another interesting behavioras ot the behaviour of this. You need to know enough about this to know not to use it.
Transcript
Play full episode