Book Image

Learn ECMAScript - Second Edition

By : MEHUL MOHAN, Narayan Prusty
Book Image

Learn ECMAScript - Second Edition

By: MEHUL MOHAN, Narayan Prusty

Overview of this book

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!
Table of Contents (18 chapters)
Title Page


About the authors

Mehul Mohan is an independent developer and likes to develop useful things. He has been working with JavaScript for over 5 years in multiple environments, such as mobile apps, frontend, and backend. He likes to learn and use new languages and frameworks. He runs Codedamn, his YouTube channel, which was started as a programming hobby but has been growing since then to teach various programming languages to millions of people. He's currently pursuing his bachelor's degree in computer science at BITS, Goa.

To my friends and family, your support and encouragement is much more than I can express here. To mom (Mrs. Ritu Mohan) and dad (Mr. Vinay K. Mohan)—thank you for your evergreen support and moral support that you both have given me over the years.Thank you to my sister (Ms. Ishumita Mohan) for being always there with a word of encouragement or advice whenever I needed it.




Narayan Prusty is a full-stack developer with 5 years of experience. He specializes in Blockchain, Cloud, and JavaScript. His commitment has allowed him to build scaleable products for startups, governments, and enterprise across India, Singapore, USA, and UAE. At present, Ethereum, Bitcoin, Hyperledger Fabric 1.0, IPFS, Ripple, and so on are some of the things he uses on regular basics to build decentralized applications. Currently he is a full time Full-Stack and Blockchain Engineer at ConsenSys Enterprise. He starts working on something immediately if he feels it's exciting and solves real work problem. He build a MP3 search engine at the age of 18 and since then he has build various other applications which are used by people around the globe. His ability to build scaleable applications from top-to-bottom is what makes him special. Currently he is on a mission to make things easier, faster, and cheaper using blockchain technology. And also he is looking at possibilities to prevent corruptions, fraud, and bring transparency to the world using blockchain technology.



About the reviewer

Domenico Luciani, is a 25-year-old young passionate programmer, currently working as a software engineer for XPeppers, performing extreme programming. He graduated in computer science from the university of Palermo. He is a computer vision enthusiast and loves security, and in his free time, he takes part in bounty programs, hackathons, and dedicated open source events.

Packt is searching for authors like you

If you're interested in becoming an author for Packt, please visit and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.