内容简介:
Key Features
Grasp the latest features of ECMAScript and the best way to use it in production codeLearn newly added native APIs to JS Engine and perform tasks efficiently with a cleaner code baseUnderstand 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 specificationMake use of the latest features of ECMAScriptMake use of many new APIs in HTML5 and modern JavaScript implementationUse SharedArrayBuffers for superfast concurrent and parallel programmingPerform asynchronous programming with JavaScriptImplement 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 ECMAScriptKnowing Your LibraryUsing IteratorsAsynchronous ProgrammingModular ProgrammingImplementing the Reflect APIProxiesClassesJavaScript on the WebStorage APIs in JavaScriptWeb and Service WorkersShared Memory and Atomics
作者简介:
Mehul Mohan was born in New Delhi, India and is completing his education in BITS Pilani, Goa Campus as a CSE undergrad. He is fascinated by programming and the idea that simple programs can instruct the second most complex thing in the universe to follow the most complex thing's orders. He primarily works with MEAN stack but is happy to learn about a wide range of things. Breaking the security is the number 2 thing which interests him. He has been awarded bug bounties, swags, and hall of fame name in companies like Google, Microsoft, Sony, etc. in the past through their responsible disclosure programs.
下载点评