JavaScript Next: Your Complete Guide to the New Features Introduced in JavaScript,Starting from ES6 to ES9
Authors: Raju Gandhi
ISBN-10: 1484253930
ISBN-13: 9781484253939
Edition 版本: 1st ed.
Released: 2019-10-24
Print Length 页数: 241 pages
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
1. let and const-The New Declarations on the Block
2. Lambdas with Arrow Functions
3. Effective Function Signatures with Default and Rest Parameters
4. Divide and Conquer with Object and Array Destructuring
5. Formatted Strings Using Template Strings
6. Maps and Sets-The New Data-structures on the Block
7. Bright Shiny Object(s) using Enhanced Object Literals
8. Hiding Behind Symbols
9. Iterable Sequences with Generators and Iterators
10. Avoiding Callbacks with Promises
11. Many of a Kind with Classes
12. Namespacing Code Using Modules
13. Metamorphosis with Proxy and Reflect
14. Seemingly Imperative with async and await
15. Asynchronous lterators and Generators-A Meeting of the Minds