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.

–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

Loading interface...
Loading interface...

About the author

Nicholas C. Zakas

16 books100 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
81 (45%)
4 stars
73 (41%)
3 stars
18 (10%)
2 stars
4 (2%)
1 star
1 (<1%)
Displaying 1 - 14 of 14 reviews
Profile Image for Rob.
Author 2 books378 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.
119 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.
29 reviews2 followers
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 reviews17 followers
September 17, 2017
Best book on ES6.
Nicholas C. Zakas as always , has explained everything in detail.
Profile Image for Andrii.
17 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
833 reviews16 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.
309 reviews15 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 Xanan.
59 reviews4 followers
August 15, 2018
First an important note about the title. The book doesn't teach you ECMAScript 6 programming from scratch but only discusses new ECMAScript 6 language features. You are expected to know ECMAScript 5 reasonably well.

The new ECMAScript 6 features are explained clearly and exhaustively, with example snippets illustrating nuances and details.
The author also provides the motivations that drove the addition of the new features to the standard with relevance on how they impact and improve on previous code.

The chapter on Promises is a bit hasty given the implications of the concept and contains some inaccuracies.

Appendix B also covers ECMAScript 7 (AKA ECMAScript 2016) although the new additions are rather insignificant.
Displaying 1 - 14 of 14 reviews

Can't find what you're looking for?

Get help and learn more about the design.