Understanding ECMAScript 6

The Definitive Guide for JavaScript Developers
by Nicholas C. Zakas

August 2016, 352 pp.
ISBN: 978-1-59327-757-4

  • Download Chapter 1: Block Bindings

    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 learn:

    • 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.


  • About the Author

    Nicholas C. Zakas has been working on web applications since 2000, focusing on frontend development, and is known for writing and speaking about frontend best practices. He honed his experience during his five years at Yahoo!, where he was principal frontend engineer for the Yahoo! home page. He is the author of several books, including The Principles of Object-Oriented JavaScript (No Starch Press) and Professional JavaScript for Web Developers (Wrox).


    Table of Contents

    Introduction
    Chapter 1: Block Bindings
    Chapter 2: Strings and Regular Expressions
    Chapter 3: Functions
    Chapter 4: Expanded Object Functionality
    Chapter 5: Destructuring for Easier Data Access
    Chapter 6: Symbols and Symbol Properties
    Chapter 7: Sets and Maps
    Chapter 8: Iterators and Generators
    Chapter 9: Introducing JavaScript Classes
    Chapter 10: Improved Array Capabilities
    Chapter 11: Promises and Asynchronous Programming
    Chapter 12: Proxies and the Reflection API
    Chapter 13: Encapsulating Code with Modules

    Appendix A: Minor Changes in ECMAScript 6
    Appendix B: Understanding ECMAScript 7 (2016)

    View the detailed Table of Contents (PDF)
    View the Index (PDF)

    (top)

    Reviews

    “Recommended to any JavaScript user looking to grok ES6.”
    —The MagPi (Read More)

    “This book is for existing JavaScript coders who want to keep their skills sharp.”
    —Network Security

    “Understanding ES6 is now essential for all web developers. This book will help you get started.”
    —Modelus (Read More)

    (top)

    Updates

    (show updates)(top)