Rediscovering JavaScript
summary
Covers concrete, actionable JavaScript updates: replace var with use const as much as possible and let, enforce via eslint; replace arguments with rest and spread for clear arity and incremental refactoring; prefer template literals and default params (watch null vs undefined); use enhanced for/of with destructuring objects and arrays to pull index/value and parameters; beware arrow functions changing scoping of this and arguments (lexical vs dynamic). Examples run live and refactor incrementally, with eslint suggested for enforcement.
AI-written summary · about
chapters (9)
- 0:00Introduction to JavaScript
- 1:19Replacing var with let and const
- 10:06Understanding arguments and rest operator
- 20:38Spread operator and string templates
- 27:09Default parameters and undefined
- 31:06Enhanced for loops and destructuring
- 35:13Arrow functions and scoping
- 51:11Advanced destructuring techniques
- 1:00:02Conclusion and modern JavaScript








