The next version of JavaScript: ES6 Harmony

I was reading up on the next version of Javascript, called by several names: ES6 (EcmaScript 6), ES.next, Harmony etc.

The official name is EcmaScript 6 or ES6 for short.
It offeres improved support for larger JavaScript applications, by adding classes, typing, modules, lambda expressions, default values for parameters, new collectiontypes and operations etcetera.

The standard can be found here.

You can use parts of it already in several browsers, or you can use cross-compilers like typescript or Traceur.

One of the new things I learned is you can use it already with node by adding a startup parameter.

node [yourapp].js --harmony

If you want to start reading more, start with this:
http://code.tutsplus.com/articles/use-ecmascript-6-today--net-31582
It is a really nice summary and contains links to more material.

Ronald Harmsen

I'm a software developer. When I'm not developing software I'm training & coaching other developers, speaking on a conference or fiddling with some technical stuff.

Arnhem, The Netherlands

Subscribe to Ronald to the cloud

Get the latest posts delivered right to your inbox.

or subscribe via RSS with Feedly!