Learn ECMAScript - Second Edition

£25.98

Learn ECMAScript - Second Edition

Discover the latest ECMAScript features in order to write cleaner code and learn the fundamentals of JavaScript

Authors: Mehul Mohan, Narayan Prusty

Dinosaur mascot

Language: English

Published by: Packt Publishing

Published on: 26th February 2018

Format: LCP-protected ePub

Size: 298 pages

ISBN: 9781788629621


Get up and running with all the new features of ECMAScript and explore new ways of coding with JavaScript.

About This Book

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

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.

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

In Detail

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 and safely 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!

Style and approach

The level goes gradually from basic to advanced so that the reader can adapt at every point and level up their skills at the same time. The chapters are carefully arranged in a manner that makes every concept easy to learn and deploy right away in your code.

Show moreShow less