Become a better web programmer by writing efficient and modular code using ES6 and ES8
Learn to write asynchronous code and improve the readability of your web applications
Explore advanced concepts such as closures, Proxy, generators, Promise, async functions, and Atomics
Use different design patterns to create structures to solve common organizational and processing issues
ECMAScript Cookbook follows a modular approach with independent recipes covering different feature sets and specifications of ECMAScript to help you become an efficient programmer.
By the end of the book, you will be able to produce more efficient, expressive, and simpler programs using the new features of ECMAScript.
What you will learn
Create and work with promises using the Promise object and methods
Compose async functions to propagate and handle errors
Solve organizational and processing issues with structures using design patterns
Use classes to encapsulate and share behavior
Orchestrate parallel programs using WebWorkers, SharedMemory, and Atomics
Use and extend Map, Set, and Symbol to work with user-defined classes and simulate data types
Explore new array methods to avoid looping with arrays and other collections
Who this book is for