These are the known mistakes in the third edition of the book. For errata in the first edition, see this page. For the second edition, see this page. To report a problem that is not listed here, send me an email.
Issues whose page number is followed by an ordinal number are only present up to the print denoted by that number. I.e. those followed by “1st” were fixed in the second print.
Page 34 (1st) Updating Bindings Succintly: Where it
counter- it should be
Page 91 Composability: Due to an initial mistake in the script data set, the results of the computations on this page differ from the ones with the current, corrected data. The average year for living scripts should be 1165, the average for non-living scripts should be 204.
Page 111 (2nd) Inheritance: In the second
paragraph below the example code, instead of “
method”, the text should say “
Page 134 (2nd) Error Propagation: In the third
paragraph of the section, a function
referred to. The function is actually
promptNumber, and the word “whole” should be
dropped from the sentence (it accepts non-whole numbers, too).
Page 168 (1st) Modules as Building Blocks: In “each needs it own private scope“, it should say “its own private scope“.
Page 234 (2nd) Creating Nodes: In the code, “edition” is misspelled as “editon”.
Page 258 Load Event: The description of
beforeunload claims that you just need to return a
string from your event handler. For handlers registered
addEventListener you, in fact, need to
preventDefault and set a
property to get the warn-on-leave behavior.
Page 285 (2nd) Pausing the Game: The text
refers to the
arrow binding, where it should
Page 369 (1st) Directory
MKCOL stands for “make collection”, not “make
column” as the book claims.
Page 373 HTTP Interface: There is a superfluous closing brace at the end of the example JSON snippet.
Page 414 A Modular Robot:
dijkstrajs package name is misspelled