"JavaScript, the Real Bad Parts"
summary
Explains five concrete pitfalls and how to fix them: five ways to set this (method, baseless call, call/apply, new, strict mode changes), prototype as a fallback chain using object.create and an object.create shim for old IE, the loop-closure surprise that alerts 3,3,3 and how IIFEs or ES6 let solve it, and how hoisting moves declarations so function expressions vs declarations behave differently; notes Node’s harmony flag for trying ES6 features now.
AI-written summary · about
chapters (8)
- 0:00Introduction to talk
- 1:51JavaScript background
- 4:43Understanding 'this' keyword
- 12:14Prototypal inheritance explained
- 19:39Scope and block confusion
- 22:35Function hoisting demystified
- 26:48ES6 and future of JS
- 27:35Q&A session








