2015-03-04

No promises: asynchronous JavaScript with only generators

Two ECMAScript 6 [1] features enable an intriguing new style of asynchronous JavaScript code: promises [2] and generators [3]. This blog post explains this new style and presents a way of using it without promises.

2015-02-26

Iterables and iterators in ECMAScript 6

ECMAScript 6 introduces a new interface for iteration, Iterable. This blog post explains how it works, which language constructs consume data via it (e.g., the new for-of loop) and which sources provide data via it (e.g., arrays).

2015-02-17

A 90 minute overview of ECMAScript 6 (video)

On February 1, 2015, I held the 90 minute talk “Using ECMAScript 6 today” at the Rolling Scopes Conference in Minsk. A video recording of that talk is online:

2015-02-16

Vote for your favorite “Exploring ES6” cover!

There are two candidates for the cover of my upcoming book, “Exploring ES6”. You can now vote for your favorite. I’ll announce a winner in a week.

2015-02-15

Classes in ECMAScript 6 (final semantics)

Updates:

Recently, TC39 decided on the final semantics of classes in ECMAScript 6 [2]. This blog post explains how their final incarnation works. The most significant recent changes were related to how subclassing is handled.

2015-02-10

First details of my upcoming book on ES6

I’m glad that I can finally announce the first details of my upcoming book:

  • Title: Exploring ES6 – Upgrade to the next version of JavaScript
  • Website: ExploringJS.com
    • Go there to get more information and to subscribe to be notified when the book comes out.

Thanks to everybody who helped me figure out the title!

2015-02-07

Variables and scoping in ECMAScript 6

This blog post examines how variables and scoping are handled in ECMAScript 6 [1].