All the great stuff since ES6!
JAVASCRIPT:THE RECENT PARTSKYLE SIMPSON [email protected]
View Slide
ES6 / ES2015• Rest/Spread Operator (...)• Iterators + Generators
ES6 / ES2015Rest/Spread Operator
spread: imperative
spread: declarative
ES6 / ES2015Iterators + Generators
iterators: declarative iteration
generator: declarative iterator
ES2016• Array .includes(..)
ES2016Array .includes(..)
includes API > syntax
ES2017• async .. await
ES2017async .. await
promise chains: yuck
async functions
async functions: problems• await Only Promises• Scheduling (Starvation)• External Cancelation
cancelable async functionsgithub.com/getify/CAF
ES2018• RegExp Improvements• async* .. yield await
ES2018RegExp Improvements
look behind
named capture groups
ES2018async* .. yield await
async generators
async iteration: hooray!
JAVASCRIPT:THE RECENT PARTSKYLE SIMPSON [email protected]THANKS!!!!