JavaScript: The Good Parts
Google TechTalksYouTube ↗
Further reading 1
Caption notes
Crockford demonstrates closures and prototypes while warning about globals, coercion and automatic semicolon insertion. Tools can enforce a more predictable subset of JavaScript.
Original passages · 6
It will continue to enjoy access to them even after the outer function has returned.all these things tend to work together to mask errors.it imposes a programming discipline that makes me much more confident in being in this very dynamic, very loosely typed environment.the less we have to agree on in order to work together, the better.use those parts exclusively and avoid the bad partsAlways use a triple equal operator