ES2015: Using tomorrow's JavaScript today!
summary
Quick tour of ES2015 with working live code: uses Babel 6 to transpile modern syntax to ES5, warns that you must pick feature sets, and reports no major transpilation failures in demos. Shows concrete examples that run: let/const scoping, template literals, Object.assign shallow merges, rest/spread, Array.from, Map/Set, promises, classes, and React component imports using destructuring. Demonstrates a login module where modules are stateful (single shared instance) and explains that arrow functions bind this lexically. Notes small gotchas like default-parameter behavior with null vs undefined.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 3:00Browser Support
- 3:40ES6 Tour
- 4:10Real Scopes
- 6:42Core Object Functions
- 11:17Structure
- 15:17Modules
- 22:22Object literals
- 25:57Primers
- 32:22Arrow Functions
- 36:14Arrow Functions vs Standard Functions
- 42:01Real Classes
- 45:05Data Structures
related talks
40mJavaScript: the new parts
01h 22mA Browse Through ES2016
45mHuman Readable JavaScript: Using ES2015+ to Craft Better Code
53mUsing ECMAScript 6 today. Part II
32mUsing JavaScript from the Future in Your Rails App Today
38mStart Using ES6 Today
41mJavaScript in 2016
26mElegant React with ES6 (and a bit of ES7)
