Break all the rules
summary
Argues that seemingly forbidden features actually solve real problems and then shows concrete examples: Chrome devtools use the with statement to shadow console helpers, eval and the Function constructor power console evaluation and fallback JSON parsing, underscore and prototype.js use controlled scope tricks and an array constructor trick to repeat strings, jQuery relies on == for convenient null/undefined checks, ES5 shims and ES6 let tradeoffs appear, and performance and scope limitations are measured and mitigated in each case.
AI-written summary · about
chapters (21)
- 0:00Intro
- 2:03Why this talk
- 2:53Stack Overflow
- 3:37Rules
- 4:30Does anyone know
- 6:15Rules are barriers
- 7:13Singapore
- 8:07Wikipedia
- 8:38Quiz Statement
- 9:47Strict Mode
- 11:17Why is it useful
- 12:53Blockscope
- 15:10eval
- 16:18nojsonpass
- 17:14console
- 19:59pastjson
- 20:35underscorejs
- 21:47equals
- 23:23equals equals
- 25:12array constructor
- 28:17semicolons








