Learn ECMAScript - Second Edition: Discover the latest ECMAScript features in order to write cleaner code and learn the fundamentals of JavaScript

Mehul Mohan, Narayan Prusty

  • 出版商: Packt Publishing - ebooks Account
  • 出版日期: 2018-02-26
  • 售價: $1,447
  • 貴賓價: 9.5$1,375
  • 語言: 英文
  • 頁數: 298
  • 裝訂: Paperback
  • ISBN: 1788620062
  • ISBN-13: 9781788620062
  • 相關分類: JavaScript

下單後立即進貨 (1週~2週)


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

  1. Getting Started with ECMAScript
  2. Knowing Your Library
  3. Using Iterators
  4. Asynchronous Programming
  5. Modular Programming
  6. Implementing the Reflect API
  7. Proxies
  8. Classes
  9. JavaScript on the Web
  10. Storage APIs in JavaScript
  11. Web and Service Workers
  12. Shared Memory and Atomics