Following are the known errata for Programming in JavaScript: Algorithms and Applications for Desktop and Mobile Browsers. Acknowledgments: Mary Alverson (LMU), Will Averill (LMU), Marc Feeley (Université de Montréal), Dan McGrath (LMU).
Line 5: A question mark is missing between foundDivisor
and "not".
Immediately after line 5: A closing brace (}) should be inserted as
the last line of the code block.
Line 5: (this.width * this.height) should be
(this.width + this.height).
Figure 5.5: Value of the length property in the Circle object should be 1, not 2.
Exercise 11: There should be no period between c1 and instanceof,
and the text "where c1 is an instance of ColoredCircle"
needs to be added between the words "Circle" and "has the value true."
Line 20: The condition should read if k = 0 or k = 1.
Line 22: This line should read do statement while (expression);
Line 12: "global variable" should be "global object".