Exploring ECMAScript 2015

We have already used many of the new features of ES2015 throughout this book, such as arrow functions, template strings, and promises. We have also already seen ES2015's syntax for classes in Chapter 3, A JavaScript Primer.

ES2015 is a major update to the language, including many new features and syntax improvements. This section will cover some of the other useful improvements that we haven't seen so far in the book. For complete coverage of everything new in ES2015, see the excellent Exploring ES6, available at http://exploringjs.com/es6/.

Understanding ES2015 modules

As mentioned in previous chapters, ES2015 introduces a new module specification. Recall from Chapter 4, Introducing Node.js Modules, that each module system ...

Get Learning Node.js for .NET Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.