count-to-6
count-to-6 copied to clipboard
An intro to some ES6 features via a set of self-guided workshops.
https://github.com/lukehoban/es6features#proxies Would need to run in Node 0.11.x, and use https://github.com/tvcutsem/harmony-reflect, although https://github.com/tvcutsem/harmony-reflect/issues/34 is somewhat of a blocker.
This is an easy enhancement: as a prefilter, before the transpiler, verify that they're using ES6 syntax, and not cheating by using ES5. This could be done either with quick...
Example: show them promise-returning `delay`. Exercise: make them write a promise-returning `fs.readFile`. Refer to the Promise-It-Won't-Hurt workshop for more? https://github.com/lukehoban/es6features#promises
https://github.com/lukehoban/es6features#enhanced-object-literals In particular, computed property names, shorthand methods, and shorthand properties.