The what, why, and how of the new features in JavaScript
Kent C. Dodds
Utah
1 wife, 3 kids
PayPal, Inc.
@kentcdodds
kcd.im/es6-intro-slides
kcd.im/es6-intro-recording
$ git clone https://github.com/kentcdodds/es6-workshop.git $ cd es6-workshop $ npm run setup $ npm start
Open up the project in your favorite editor
If you have yarn installed, you can run `yarn run setup:yarn`
instead of
`npm run setup`
Block-scoped binding constructs
Super awesome upgrades to string composition
Some weird wizardry...
Some handy new helpers and such
Pulling variables out of objects and arrays
Language-level support for module definitions
Learn More: http://kcd.im/es6-modules-repo
Defaults & Rest
...apply me
Syntactic sugar and lexical binding
Improvements over prototype for OO programming
Solution to the "unique items in an array" problem
Like objects + non-string keys
source of never-ending jokes
not in ES7 (that's not a thing) :)
git clone https://github.com/kentcdodds/es6-todomvc.git cd es6-todomvc npm run setup:workshop
Open http://localhost:8080
Resources
kcd.im/es6-intro-feedback
By Lindsey Dragun
ES6 Workshop. The what, why, and how of the new features in JS
Web Developer and accessibility advocate