A Note About the Code
The code in this book has been updated to follow ECMAScript 6+ standards. Where possible, I also strived to follow a modern JavaScript style inspired by the Airbnb JavaScript Style Guide.[1] That being said, I deviated from certain rules in cases where I thought that doing so would help keep the code easier to understand.
One such example is that JavaScript is blessed (or cursed, depending on your viewpoint) with many different types of loop syntax. Even though the modern forEach loop could be used in many of the code snippets, there are plenty of cases where it would not be the optimal choice. And I felt that having too many different types of loops across all the code snippets would be a little jarring. And so, to use ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access