Learn ECMAScript, 2nd Edition
- Length: 298 pages
- Edition: 2nd Revised edition
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2018-02-26
- ISBN-10: 1788620062
- ISBN-13: 9781788620062
- Sales Rank: #3180904 (See Top 100 Books)
Learn ECMAScript – Second Edition: Discover the latest ECMAScript features in order to write cleaner code and learn the fundamentals of JavaScript
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
Chapter 1 Getting Started with ECMAScript
Chapter 2 Knowing Your Library
Chapter 3 Using Iterators
Chapter 4 Asynchronous Programming
Chapter 5 Modular Programming
Chapter 6 Implementing the Reflect API
Chapter 7 Proxies
Chapter 8 Classes
Chapter 9 JavaScript on the Web
Chapter 10 Storage APIs in JavaScript
Chapter 11 Web and Service Workers
Chapter 12 Shared Memory and Atomics