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
- Cover
- Front Matter
- 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 Iterators and Generators—A Meeting of the Minds
- Back Matter
Product information
- Title: JavaScript Next: Your Complete Guide to the New Features Introduced in JavaScript, Starting from ES6 to ES9
- Author(s):
- Release date: October 2019
- Publisher(s): Apress
- ISBN: 9781484253946
You might also like
book
ES6 for Humans: The Latest Standard of JavaScript: ES2015 and Beyond
Learn ES6 best practices for code optimization and organization and walk through practical, common examples of …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
article
Use GitHub Copilot: Additional Tips
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …
article
Use Github Copilot for Prompt Engineering
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …