Please support this book: buy it (PDF, EPUB, MOBI) or donate

Preface

You are reading a book about ECMAScript 6 (ES6), a new version of JavaScript. It’s great that we can finally use that version, which had a long and eventful past: It was first conceived as ECMAScript 4, a successor to ECMAScript 3 (whose release was in December 1999). In July 2008, plans changed and the next versions of JavaScript were to be first a small incremental release (which became ES5) and then a larger, more powerful release. The latter had the code name Harmony and part of it became ES6.

ECMAScript 5 was standardized in December 2009. I first heard and blogged about ECMAScript 6 in January 2011, when it was still called Harmony. The original plan was to finish ES6 in 2013, but things took longer and it was standardized in June 2015. (A more detailed account of ES6’s history is given in the next chapter.)

With a few minor exceptions, I am happy how ECMAScript 6 turned out. This book describes my experiences with, and my research of, its features. Similarly to ES6, it took a long time to finish – in a way, I started writing it in early 2011. Like my previous book “Speaking JavaScript”, I wrote most of it as a series of blog posts. I like the discussion and feedback that this open process enables, which is why this book is available for free online.

This book can be read online for free. If you find it useful, please support it by buying a copy. You’ll get DRM-free PDF, EPUB, MOBI files.

I hope that reading the book conveys some of the fun I had investigating and playing with ES6.

Axel Rauschmayer