I bet you've been writing JS for years and you think you're pretty good at it. I bet you think you know all about how functions create closured scope, and how 'this' gets bound, and even how '.prototype' works. Or, rather, you probably don't care because your framework or library takes care of all that for you.
This talk is going to re-visit some of the "tough parts" of the language by declaring "New Rules" (Bill Maher style) for the language.
For instance: "New rule: Stop using 'this' unless you fully understand how it gets assigned."
Sign in to add slides, notes or videos to this session