O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Get Programming with JavaScript Next: New features of ECMAScript 2015, 2016, and beyond

Book Description


Get Programming with JavaScript Next introduces the modern age of JavaScript programming with ES6 and ES7 without dragging you through confusing jargon and abstract examples you'll never use. In just 34 quick-fire sessions, you'll quickly be coding with the latest features and functions of ES6 and ES7!

About the Technology

Great code is readable, bug-free, and maintainable. Modern JavaScript, aka JavaScript Next, makes it much, much easier to write great applications. New features introduced in ES2015 simplify the structure of your JavaScript projects and radically streamline async-oriented tasks like writing reactive applications and microservices.

About the Book

Get Programming with JavaScript Next introduces you to the new features included in the ES2015-and-later JavaScript releases. You�ll learn example by example in 34 short lessons, each designed to drive home a specific skill. The coverage is complete: you�ll explore new language syntax, declarations, and data types. You�ll structure code with modules, replace callbacks with promises, and use classes instead of constructors. Every time you turn a page, complete an exercise, or study a carefully crafted illustration, you�ll be one step closer to JavaScript mastery.

What�s inside

  • New features from ES2015 and later

  • Writing asynchronous code

  • Creating custom iterables

  • Troubleshooting modules and classes

  • About the Reader

    Written for web developers comfortable with standard JavaScript 5 features and coding style.

    About the Author

    JD Isaacks is a seasoned developer, a JavaScript instructor, and an open source maintainer.

    Table of Contents

    1. Copyright
    2. Brief Table of Contents
    3. Table of Contents
    4. Preface
    5. Acknowledgments
    6. About this book
    7. About the author
    8. Lesson 1. ECMAScript specification and the proposal process
    9. Lesson 2. Transpiling with Babel
    10. Lesson 3. Bundling modules with Browserify
    11. Unit 1. Variables and strings
      1. Lesson 4. Declaring variables with let
      2. Lesson 5. Declaring constants with const
      3. Lesson 6. New string methods
      4. Lesson 7. Template literals
      5. Lesson 8. Capstone: Building a domain-specific language
    12. Unit 2. Objects and arrays
      1. Lesson 9. New array methods
      2. Lesson 10. Object.assign
      3. Lesson 11. Destructuring
      4. Lesson 12. New object literal syntax
      5. Lesson 13. Symbol—a new primitive
      6. Lesson 14. Capstone: Simulating a lock and key
    13. Unit 3. Functions
      1. Lesson 15. Default parameters and rest
      2. Lesson 16. Destructuring parameters
      3. Lesson 17. Arrow functions
      4. Lesson 18. Generator functions
      5. Lesson 19. Capstone: The prisoner’s dilemma
    14. Unit 4. Modules
      1. Lesson 20. Creating modules
      2. Lesson 21. Using modules
      3. Lesson 22. Capstone: Hangman game
    15. Unit 5. Iterables
      1. Lesson 23. Iterables
      2. Lesson 24. Sets
      3. Lesson 25. Maps
      4. Lesson 26. Capstone: Blackjack
    16. Unit 6. Classes
      1. Lesson 27. Classes
      2. Lesson 28. Extending classes
      3. Lesson 29. Capstone: Comets
    17. Unit 7. Working asynchronously
      1. Lesson 30. Promises
      2. Lesson 31. Advanced promises
      3. Lesson 32. Async functions
      4. Lesson 33. Observables
      5. Lesson 34. Capstone: Canvas image gallery
    18. Appendix. Exercise answers
    19. Here’s a preview of some of the new syntaxes you’ll learn in unit 2
    20. Here’s a preview of using promises and async functions from unit 7
    21. Index
    22. List of Figures
    23. List of Tables
    24. List of Listings