Get Programming with JavaScript Next

Book description

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.

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

Product information

  • Title: Get Programming with JavaScript Next
  • Author(s): JD Isaacks
  • Release date: May 2018
  • Publisher(s): Manning Publications
  • ISBN: 9781617294204