Six nifty ES6 tricks

In this blog post, I show six tricks enabled by new ES6 features. At the end of each section, I point to related material in my book “ Expl…

Similar

ES6 Generators Deliver Go Style Concurrency

Last night I expressed some frustration about the state and future of concurrency in JavaScript. I ended up having a little bit of back and forth with David Herman and he pointed out that ES6 Generators can express Go and core.async's flavor of CSP. Now I... (more…)

Read more »

The remarkable ES6 spread operator

A quick post to write about one of my favourite ES6 feature - Spread operator. What is it?Official (and frankly boring) definition from Mozilla docs: Spread syntax (...) allows an iterable such as an array expression or string to be expanded in places whe... (more…)

Read more »