Modern JS with ES6
summary
Quick tour of concrete ES6 features with demos and tooling: timeline claim that ES6 (2015) is the largest language change since ES5 (2009), modules enable import/export, and Babel plus Webpack are used to transpile and bundle. Shows how let fixes the closure loop bug that made var print 10 and how fetch returns a Promise and needs .json() before data arrives, builds a promise chain and adds .catch, and demonstrates async/await awaiting resolveAfter timers. Recommends Wes Bos course.
AI-written summary · about
chapters (22)
- 0:00Intro
- 0:47A Brief History
- 3:09ES6 Modules - Multiple Named Exports
- 4:02ES6 Modules - Single Default Exports
- 4:16ES6 Tools
- 7:27Variable Hoisting
- 8:48Temporal Dead Zone
- 10:53Iterables & Looping
- 13:45Arrow Functions
- 16:58Default Arguments
- 18:39Destructuring Objects
- 20:47Destructuring Arrays
- 21:29Spread Operator
- 25:29Rest Operator
- 26:28Template Literals
- 28:04New String Methods - .startsWith()
- 29:41Enhanced Object Literals
- 31:40Array.from()
- 37:29Promises
- 42:15Classes
- 44:19Async & Await
- 48:11Features! Features! Features!
