Slide 1

Slide 1 text

JAVASCRIPT: THE RECENT PARTS KYLE SIMPSON [email protected]

Slide 2

Slide 2 text

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

Slide 3

Slide 3 text

ES6 / ES2015 Rest/Spread Operator

Slide 4

Slide 4 text

spread: imperative

Slide 5

Slide 5 text

spread: declarative

Slide 6

Slide 6 text

ES6 / ES2015 Iterators + Generators

Slide 7

Slide 7 text

iterators: declarative iteration

Slide 8

Slide 8 text

iterators: declarative iteration

Slide 9

Slide 9 text

generator: declarative iterator

Slide 10

Slide 10 text

ES2016 • Array .includes(..)

Slide 11

Slide 11 text

ES2016 Array .includes(..)

Slide 12

Slide 12 text

includes API > syntax

Slide 13

Slide 13 text

ES2017 • async .. await

Slide 14

Slide 14 text

ES2017 async .. await

Slide 15

Slide 15 text

promise chains: yuck

Slide 16

Slide 16 text

async functions

Slide 17

Slide 17 text

async functions: problems • await Only Promises • Scheduling (Starvation) • External Cancelation

Slide 18

Slide 18 text

cancelable async functions github.com/getify/CAF

Slide 19

Slide 19 text

ES2018 • RegExp Improvements • async* .. yield await

Slide 20

Slide 20 text

ES2018 RegExp Improvements

Slide 21

Slide 21 text

look behind

Slide 22

Slide 22 text

named capture groups

Slide 23

Slide 23 text

ES2018 async* .. yield await

Slide 24

Slide 24 text

async generators

Slide 25

Slide 25 text

async iteration: hooray!

Slide 26

Slide 26 text

JAVASCRIPT: THE RECENT PARTS KYLE SIMPSON [email protected] THANKS!!!!