Jump to ratings and reviews
Rate this book

Understanding ECMAScript 6: The Definitive Guide for JavaScript Developers

Rate this book
ECMAScript 6 represents the biggest update to the core of JavaScript in the history of the language. In Understanding ECMAScript 6 , expert developer Nicholas C. Zakas provides a complete guide to the object types, syntax, and other exciting changes that ECMAScript 6 brings to JavaScript. Every chapter is packed with example code that works in any JavaScript environment so you’ll be able to see new features in action.

You’ll
–How ECMAScript 6 class syntax relates to more familiar JavaScript concepts
–What makes iterators and generators useful
–How arrow functions differ from regular functions
–Ways to store data with sets, maps, and more
–The power of inheritance
–How to improve asynchronous programming with promises
–How modules change the way you organize code


Whether you’re a web developer or a Node.js developer, you’ll find Understanding ECMAScript 6 indispensable on your journey from ECMAScript 5 to ECMAScript 6.

352 pages, Paperback

First published January 1, 2016

128 people are currently reading
378 people want to read

About the author

Nicholas C. Zakas

17 books106 followers
Chinese: 尼古拉斯

Nicholas C. Zakas is a front-end consultant, author, and speaker. He worked at Yahoo! for almost five years, where he was front-end tech lead for the Yahoo! homepage and a contributor to the YUI library. He is the author of Maintainable JavaScript (O’Reilly, 2012), Professional JavaScript for Web Developers (Wrox, 2012), High Performance JavaScript
(O’Reilly, 2010), and Professional Ajax (Wrox, 2007). Nicholas is a strong advocate for development best practices including progressive enhancement, accessibility, performance, scalability, and maintainability.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
111 (44%)
4 stars
98 (39%)
3 stars
35 (14%)
2 stars
5 (2%)
1 star
1 (<1%)
Displaying 1 - 24 of 24 reviews
Profile Image for Vilius.
199 reviews32 followers
December 21, 2017
Written for people who already know javascript and just want to find out about new features in es6. Brief and straight to the point.
Profile Image for Rob.
Author 2 books436 followers
December 13, 2016
If you have a solid JavaScript foundation and are looking to cut your teeth on the ES6 features, this is a great place to start. I've written many times before about how well Zakas presents material, and how he makes it easy to learn; there's no exception to that here. My criticisms are minor:

1. I'm not sure who consulted on the organization, but I'd have likely tried to consider what the key features are that people are looking to adopt when adopting ES6 to their stack, and then organize it that way. For example: modules before proxies (and before most other chapters, TBH). HOWEVER: this is nothing you can't fix by being willing to read things out-of-order and use the Table of Contents.

2. Some of the examples could have been more useful. For example: when presenting the Proxy and Reflect APIs, something more concrete than replicating the built-in behavior would have been good. HOWEVER: this is a pretty minor nit, as it doesn't take much imagination to come up with your own examples to use in experimenting.

Overall: highly recommended if you need a good reference that illustrates the new ES6 features.
Profile Image for Sean Helvey.
145 reviews1 follower
January 1, 2018
Phew! Glad to be done with this one. The author did a great job making lemons into lemonade, but the language has become so large, it was a bit of a slog. 5 stars for the author, 1 for the language, making an average of 3.

Good news: The chapter on modules and the quick overview of es7 toward the end may have been my favorite parts, so hang in there. I wouldn't feel too guilty about skipping a few chapters on your way either.
8 reviews
February 29, 2020
This is the best ES6 book along with what Axel Rauschmayer writes. These are my two favorite authors of Javascript books. The title of this book is very true, it's a guide for developers, not for someone looking for JS fundamentals but for people who already develop something. It tells about all new stuff ES6 standard brought to Javascript world. Although sometimes this book is too deep and tells about internals of JS itself and how it works inside it was a great read for me. I think it would be great to label books somehow so that people understand whether the book is intended for juniors/middles/seniors so that people know what to expect.

Actually this is how a programming book should be written, mostly books are very trivial and tell in other words everything we can read on MDN. I absolutely liked parts about sets and maps and typed arrays. Very well explained.
1 review
February 24, 2019
Author has really covered all the topics in very definitive manner. It provides in depth knowledge for all covered topics. I have been working on client side validations using java-script since last 2 years but before reading the book I didn't know that there is some reflection API in JavaScript. This book taught me it very well.

I am currently looking if some complete reference book is available.
Profile Image for Wook Wook.
30 reviews1 follower
December 8, 2017
This was well written, and wonderfully comprehensive. It made reading the next book (ECMAScript 2017) one of the great disappointments of my life. That might be an understatement. But the comment about this book isn't an overstatement. Really good with great depth.
Profile Image for Mohamed Krid.
8 reviews
January 22, 2019
i urge anyone interesting to learn javascript to read this book . very good reference to learn the new features added to the language . the explanation is smooth . you need to review the book from time to time
25 reviews18 followers
September 17, 2017
Best book on ES6.
Nicholas C. Zakas as always , has explained everything in detail.
Profile Image for Andrii.
28 reviews
October 6, 2019
Good and well explained ES 6 book. There are couple not covered enough topics. But in general the book could be recommended for junior/middle level developers
1,000 reviews20 followers
December 14, 2019
Zakas is masterful, as ever. This brought me nicely up-to-date. However, what I miss is examples of a more practical nature - when to use these new features.
Profile Image for Héctor Iván Patricio Moreno.
426 reviews22 followers
August 14, 2022
En este libro encontrarás una referencia explicada muy completa de todos los cambios que hicieron a ECMAScript 6 un gran evento para los programadores de JS.

El autor demuestra una experiencia muy extensa y un conocimiento muy profundo del funcionamiento de JS, y lo usa para explicar de manera increíble cada parte que cambió, así como también el funcionamiento tanto de implementación tanto del lenguaje como de los engines de JS.

Recomiendo este libro a todo aquel necesite profundizar su conocimiento de JS aunque no sea específicamente saber las características de ES6 lo que necesita. Como practicante de JS puede aprender muchísimo, aunque también puede ser leído como una referencia, por partes, o cuando se necesite saber de un tema en específico.

Los temas que más me llamaron la atención:

- Generadores e Iteradores
- Implementación de las clases y atributos no modificables
- Símbolos

Gracias a Nicholas Zakas por todas las buenas explicaciones que produce.
Profile Image for Vishal.
7 reviews4 followers
September 30, 2016
Clear and concise! Zakas' book "The Principles of Object-Oriented JavaScript" was a pleasure to read, having explained succinctly the core of the JavaScript language (ES5) in 92 pages! This sequel of sorts is around 300 pages long, because JavaScript (ES6) has grown so much since 2009. One other benefit of reading this book is that in many instances, Zakas takes the time and effort to highlight why new features in ES6 were added and why those features make writing code in JavaScript easier and safer than writing equivalent code in ES5. As always, he doesn't waste your time with verbose examples when explaining ES6 features. The online edition is already in final form and it is free to read. All in all, Zakas is a great author. I highly recommend this book, though it should not be read by complete JavaScript novices. This one should ideally be read after reading his ES5 book that I mentioned earlier.
Profile Image for Anton Antonov.
350 reviews48 followers
November 25, 2015
With the increasing ES6 support in V8, every JS developer should be familiar with the new syntax features that it has to offer.

Nicholas C. Zakas does at amazing job at tackling most of the new features and providing really practical code examples of what it was in ES3, ES5 and how it could be done in ES6.

I especially liked the classes and class expressions sections where author showcases the equivalent of the new code.
Generators and Iterators are probably the most important section of the book and it's also explained very concise with enough examples.

There are 9 TODOs (literally) in the book that will be written in near future, but that shouldn't stop anyone from reading the book.

I would recommend this to anyone!
Profile Image for Michael Koltsov.
110 reviews69 followers
November 17, 2015
This book is still a work in progress, therefore you can freely read it and contribute through Github.

From my point of view, this book should be considered not more than a manual listing most of the features of ECMAscript 2015 with examples. It's not yet finished, but imho i doubt that it will be more than a list of features.

On the other side, it can save you a lot of time if you're looking for one place to get familiarized with most of the new constructions that were added to JS recently and you're not in a mood to chase a lot of blog posts dispersed throughout the Internet.

My score (book is still 60% complete, hence this is not a final score) 3/5
Profile Image for Daniel R..
219 reviews13 followers
February 24, 2017
A comprehensive review of the changes to JavaScript introduced by ECMAScript 6 (aka ECMAScript 2015). The chapters are organized well starting with the changes you are most likely to use on a daily basis and progressing to more advanced changes later on. There is a great mix of explanation and code samples throughout the book. Certain chapters like "Proxies and Reflection API" I found excessively repetitive and feel the concepts could have been conveyed much more succinctly. Overall a great guide and reference to all the new changes.
Profile Image for Anton Antonov.
350 reviews48 followers
October 4, 2016
One of the better ES6 learning materials out there.

It's fairly short and simply straight to the point.

In my opinion, book has a slight imbalance of text and code examples. It could use more of the later and improve with a bit more realistic examples.

Profile Image for Katherine.
149 reviews
March 25, 2015
Book isn't done but everyone doing frontend development work should read what is written so far.
Profile Image for Marcos.
Author 2 books5 followers
March 6, 2016
Great in detail explanation of the new features of ES6. Clean, concise text with useful examples that make it easy to digest.
The best resource on ES6 I have read so far.
Profile Image for Arthur Zhuk.
102 reviews2 followers
December 28, 2016
Nicholas did a great job of going into detail of ECMAScript 2015. Would be great if he used more ES6 syntax in his own code examples when given the chance but it wasn't a big problem.
20 reviews1 follower
June 3, 2019
This book is OK, but JavaScript is still ugly.
Displaying 1 - 24 of 24 reviews

Can't find what you're looking for?

Get help and learn more about the design.