Get up and running with all the new features of ECMAScript and explore new ways of coding with JavaScript.
Key Features
- Grasp the latest features of ECMAScript and the best way to use it in production code
- Learn newly added native APIs to JS Engine and perform tasks efficiently with a cleaner code base
- Understand the more complex sides of JavaScript such as the inheritance model, low-level memory management, multithreaded environments, and web workers
Book Description
Learn ECMAScript explores implementation of the latest ECMAScript features to add to your developer toolbox, helping you to progress to an advanced level. Learn to add 1 to a variable andsafely access shared memory data within multiple threads to avoid race conditions.
You'll start the book by building on your existing knowledge of JavaScript, covering performing arithmetic operations, using arrow functions and dealing with closures. Next, you will grasp the most commonly used ECMAScript skills such as reflection, proxies, and classes. Furthermore, you'll learn modularizing the JS code base, implementing JS on the web and how the modern HTML5 + JS APIs provide power to developers on the web. Finally, you will learn the deeper parts of the language, which include making JavaScript multithreaded with dedicated and shared web workers, memory management, shared memory, and atomics. It doesn't end here; this book is 100% compatible with ES.Next.
By the end of this book, you'll have fully mastered all the features of ECMAScript!
What you will learn
- Implement methods associated with objects as per the latest ECMAScript specification
- Make use of the latest features of ECMAScript
- Make use of many new APIs in HTML5 and modern JavaScript implementation
- Use SharedArrayBuffers for superfast concurrent and parallel programming
- Perform asynchronous programming with JavaScript
- Implement the best ways and practices to perform modular programming in JavaScript
Who This Book Is For
This book is for web developers who have some basic programming knowledge and want to learn to write cleaner code with the power of ECMAScript.
Table of Contents
- Getting Started with ECMAScript
- Knowing Your Library
- Using Iterators
- Asynchronous Programming
- Modular Programming
- Implementing the Reflect API
- Proxies
- Classes
- JavaScript on the Web
- Storage APIs in JavaScript
- Web and Service Workers
- Shared Memory and Atomics