JavaScript: The Recent Parts

JavaScript: The Recent Parts

All the great stuff since ES6!

35761e3936deba2f8189c2d20982c771?s=128

Kyle Simpson

May 07, 2018
Tweet

Transcript

  1. JAVASCRIPT: THE RECENT PARTS KYLE SIMPSON GETIFY@GMAIL.COM

  2. ES6 / ES2015 • Rest/Spread Operator (...) • Iterators +

    Generators
  3. ES6 / ES2015 Rest/Spread Operator

  4. spread: imperative

  5. spread: declarative

  6. ES6 / ES2015 Iterators + Generators

  7. iterators: declarative iteration

  8. iterators: declarative iteration

  9. generator: declarative iterator

  10. ES2016 • Array .includes(..)

  11. ES2016 Array .includes(..)

  12. includes API > syntax

  13. ES2017 • async .. await

  14. ES2017 async .. await

  15. promise chains: yuck

  16. async functions

  17. async functions: problems • await Only Promises • Scheduling (Starvation)

    • External Cancelation
  18. cancelable async functions github.com/getify/CAF

  19. ES2018 • RegExp Improvements • async* .. yield await

  20. ES2018 RegExp Improvements

  21. look behind

  22. named capture groups

  23. ES2018 async* .. yield await

  24. async generators

  25. async iteration: hooray!

  26. JAVASCRIPT: THE RECENT PARTS KYLE SIMPSON GETIFY@GMAIL.COM THANKS!!!!