The document discusses the features of ECMAScript 6 (ES6), also known as JavaScript. It provides examples of new features such as arrow functions, classes, rest parameters, and more. It then discusses options for using ES6 features today, such as compiling to ES5 using tools like Traceur and Babel. Finally, it thanks the audience and provides links to learn more.
46. Much, much more
let { top, left } = e.getClientRect();
function* gen() { yield 1; yield 2; }
for (i of gen()) { log(i); }
[ for (let i of [1, 2, 3]) i * i ];
var sq = ( for (let i of [1, 2, 3]) i * i );
for (let i of sq) { log(i); }