ES6 Uncensored
summary
Compares concrete ES5 solutions with ES6 rewrites: variable swap via destructuring assignment, Math.max with the spread operator, summing args with the rest operator and arrow functions, de-duping with Set, Fibonacci via concise destructuring and an alternate generator, default parameters and object destructuring for options, array comprehensions for map+reduce, and two proxies that implement negative-indexed arrays and null‑safe property chains. Uses Traceur/try‑es6 and recommends Firefox; proxies are the trickiest syntax but the smart‑array and null‑proxy examples work.
AI-written summary · about
chapters (6)
- 0:00Start
- 1:42spend 3 years whining about es6 2 give a talk on how it's really good
- 7:50SUM THE ARGUMENTS
- 9:13REMOVE THE DUPLICATES
- 20:23RESOLVE THE OPTIONS
- 21:24SUPPORT NEGATIVE ARRAY INDENES
related talks
21mWhat's ECMAScript 6 Good For?
53mUsing ECMAScript 6 today. Part II
36mMetaprogramming - A journey into ES6
01h 22mA Browse Through ES2016
26mJavaScript Metaprogramming - ES6 Proxy Use and Abuse
49mECMAScript 6, The Future of JavaScript
45mHuman Readable JavaScript: Using ES2015+ to Craft Better Code
47mLOLJS
