Using ECMAScript 6 today. Part I
summary
Sums up what actually ships and how to use it: ES6 (renamed ECMAScript 2015) is a big release with a spec that more than doubles in size, followed by yearly smaller releases from 2016; features are usable today if you compile ES6 to ES5 (works and is common), proposals follow a design-by-champions TC39 process, language additions include let replaces var, symbol.iterator and destructuring for parameters, rest/spread, default args and object method shorthand — all demonstrated with code and runtimes.
AI-written summary · about
chapters (18)
- 0:00Intro
- 0:45JavaScript is everywhere
- 8:39Goals for ECMAScript 6
- 10:01How to upgrade a web language?
- 11:42Goals and requirements
- 12:51How ECMAScript features are designed
- 16:40Block-scoped variables
- 20:11Symbols: property keys
- 24:27Method definitions
- 25:43Property value shorthands
- 26:23Computed property keys (2/2)
- 27:44Constructing vs. extracting
- 29:25Destructuring: arrays
- 31:34Multiple return values
- 33:34Parameter default values Use a default if a parameter is missing
- 34:08Rest parameters
- 35:19Named parameters
- 39:32array elements
related talks
26mECMAScript 6 is so 2015! Meet ES2016
01h 08mECMAScript 6: A Better JavaScript for the Ambient Computing Era
49mECMAScript 6, The Future of JavaScript
46mAn Intro to ES6
21mWhat's ECMAScript 6 Good For?
47mECMAScript 6, A Better JavaScript for the Ambient Web Era
43mWhat’s new in ES6 for Web Devs
52mES2015: Using tomorrow's JavaScript today!
