Get Programming with JavaScript - Errata
Thank you for purchasing Get Programming with JavaScript. Please post any errors, other than those listed below, in the book's Author Online Forum. We'll compile a comprehensive list and publish it here for everyone's convenience. Thank you!
Last updated October 27th, 2017
-
Page 43, Listing 4.3
The link for listing 4.3 in the pdf is pointing to the JS Bin listing 4.2 (http://jsbin.com/gewegi/edit?js,console)
It should point to http://jsbin.com/kawocu/edit?js.console
-
Page 54
The second line reads:
... the player display logic ...
It should read:
... the movie display logic ...
-
Page 60, Listing 5.3
The last annotation reads:
When the function "It's full of stars!" is assigned ...
It should read:
When the function is called, "It's full of stars!" is assigned ...
-
Page 110, Table 8.1
The example for
forEachends with a curly brace:}It should also have a closing parenthesis and semicolon:
}); -
Page 166, Section 10.3.2
The penultimate comment reads:
// The place is the specified direction.
It should read:
// The place in the specified direction.
-
Page 176, Figure 11.3
The top right gray box says:
exits array []It should say:
exits object {} -
Page 266, paragraph before listing 15.1.
It says:
In the listing 15.1...
It should say:
In listing 15.1...
-
Page 336, Listing 18.7
The text box should be a self-closing tag to be consistent with the previous sections.
<input type="text" id="txtCommand">should be:
<input type="text" id="txtCommand" /> -
Page 347, Listing 19.1
The second line reads:
<div id="news"></news>It should read:
<div id="news"></div>
