Errors and Omissions

All of the errors are mine (the author’s) although I have the (feeble) excuse that the Covid-19 impact upon printing companies along with other businesses meant that my print proof did not arrive until after the book went on sale. Most minor blemishes have been corrected and will not impact new readers. I beg the indulgence of any reader who finds a typo which I hope they will forgive.

Early printed copies have the wrong page headers on some of the pages in the Appendix.

The text in Chapter 1 refers to an appendix section on running the Chrome Web Server which would be of particular interest to readers using a Chromebook and tackling the final project in the book. That section of text did not make it into the book but can be found here and via links from the page supporting chapter 13.

There is a relatively new arithmetic operator which does not get a mention in the book. That is the exponention operator.
You can write x = x ** y; which would raise x to the power of y and is the equivalent of x = Math.pow(x,y);
The first of those statements could have been written x **= y;
let a = 3;
a **= 2; // a is now 9
You might like to make a note about this operator in your copy of the book.


Despite the errors, visitors to this page might like to read the book Learn to Program with Games and JavaScript