Book Image

ECMAScript Cookbook

By : Ross Harrison
Book Image

ECMAScript Cookbook

By: Ross Harrison

Overview of this book

ECMAScript Cookbook follows a modular approach with independent recipes covering different feature sets and specifications of ECMAScript to help you become an efficient programmer. This book starts off with organizing your JavaScript applications as well as delivering those applications to modem and legacy systems. You will get acquainted with features of ECMAScript 8 such as async, SharedArrayBuffers, and Atomic operations that enhance asynchronous and parallel operations. In addition to this, this book will introduce you to SharedArrayBuffers, which allow web workers to share data directly, and Atomic operations, which help coordinate behavior across the threads. You will also work with OOP and Collections, followed by new functions and methods on the built-in Object and Array types that make common operations more manageable and less error-prone. You will then see how to easily build more sophisticated and expressive program structures with classes and inheritance. In the end, we will cover Sets, Maps, and Symbols, which are the new types introduced in ECMAScript 6 to add new behaviors and allow you to create simple and powerful modules. By the end of the book, you will be able to produce more efficient, expressive, and simpler programs using the new features of ECMAScript. ?
Table of Contents (20 chapters)
Title Page
Copyright and Credits
Dedication
PacktPub.com
Contributors
Preface
Index

Contributors

About the author

Ross Harrison discovered programming while he was an undergraduate at the University of Nebraska-Lincoln. His first programming class was a MATLAB class that was required for mechanical engineering. Despite bombing the class, he decided that it was a lot more fun than looking at CAD. He switched to computer science the next semester and never looked back. He has worked as a software engineer for over 10 years. Most of that time has been spent creating tools for digital publishers.

I would like to thank my colleagues at Condé Nast, and John Paul, for getting me started on this process. I would like to thank all of the great people I've worked with at Condé Nast, Rowan Technology, and 42 (Walrus!). I've been lucky enough to work on some pretty cool projects with some really awesome people. I've learned a lot about software and life. 

 

About the reviewers

Mehul Mohan was born in New Delhi, India, and is completing his education on the Goa Campus at BITS, Pilani as a CSE undergraduate. He is fascinated by programming and the fact that simple programming instructions can perform the most complex calculations known to humans. He primarily works with the MEAN stack. He is the owner of a YouTube channel called codedamn, where he presents screencasts about various programming languages. He has also received many awards from companies such as Google, Microsoft, and Sony through their responsible disclosure programs. He has also authored Learn ECMAScript - Second Edition, which covers ES8 and earlier versions in depth.

I’d like to thank my family and friends for making everything possible! 

 

 

 

 

Kazuki Muta works at a small start-up called Mobilus Corporation, which provides a real-time communication platform and messaging system called MobiAgent.

As a JavaScript engineer, he develops React.js-based web applications and Node.js-based server-side applications.

I am grateful to Takeharu Oshida, for providing me with the opportunity to join this project, and for giving me a lot of technical advice.

 

 

 

 

Rodrigo Oler is a software engineer with a bachelor's degree in information systems from the University of Franca. He currently works at the a start-up Clubinvest as the lead mobile engineer and principal solutions architect. He also works with several start-ups promoting acceleration in technology products, building robust and high-performance solutions. He has been working with JavaScript since 2012. You can visit him on his website @rodrigooler.tk.

I thank all my family, friends and colleagues for their support and dedication, and for the incredible moments together.

Packt is searching for authors like you

If you're interested in becoming an author for Packt, please visit authors.packtpub.com 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.