0%

Book Description

JavaScript has finally grown up. Armed with a slew of new features, JavaScript now makes writing the code that powers your applications elegant, concise, and easy to understand. This book is a pragmatic guide to the new features introduced in JavaScript, starting with Edition 6 of ECMAScript, and ending with Edition 9. 

Using a "compare and contrast" approach, each chapter offers a deep dive into new features, highlighting how best to use them moving forward. As you progress through the book, you'll be offered multiple opportunities to see the new features in action, and in concert with one another.

Backed by an example-driven writing style, you'll learn by doing, and get ready to embrace the new world of JavaScript. 

What You'll Learn

  • Provide a deep exposition of the new features introduced in ES6 through ES9 
  • Review how JavaScript's new features by-pass any limitations of an existing approach
  • Examine the refactoring necessary to go from old to new
  • Demonstrate how JavaScript's new features work in unison with each other 

Who This Book Is For

New and experienced developers who wish to keep abreast of the changes to JavaScript and deepen their understanding of the language. 

Table of Contents

  1. Cover
  2. Frontmatter
  3. 1. let and const — The New Declarations on the Block
  4. 2. Lambdas with Arrow Functions
  5. 3. Effective Function Signatures with Default and Rest Parameters
  6. 4. Divide and Conquer with Object and Array Destructuring
  7. 5. Formatted Strings Using Template Strings
  8. 6. Maps and Sets—The New Data-structures on the Block
  9. 7. Bright Shiny Object(s) using Enhanced Object Literals
  10. 8. Hiding Behind Symbols
  11. 9. Iterable Sequences with Generators and Iterators
  12. 10. Avoiding Callbacks with Promises
  13. 11. Many of a Kind with Classes
  14. 12. Namespacing Code Using Modules
  15. 13. Metamorphosis with Proxy and Reflect
  16. 14. Seemingly Imperative with async and await
  17. 15. Asynchronous Iterators and Generators—A Meeting of the Minds
  18. Backmatter
3.149.254.35