We checked and rechecked every page of the book, but no matter how careful you are, mistakes have a way of creeping in. If you’ve found an error, or if you just have a question, please email us or post a comment here and we’ll respond as quickly as we can. We appreciate your feedback, and we’ll use it to continually make the book (and this site) better!
Listing 4-3 and figure 4-2. Second document.write() not displaying due to error: indexof() should be indexOf().
There is a typo on Page 111.
Program 7-9.
for loop middle parameter as capital I which should read little i.
Program does not work because of this.
Page 31, first code block (well, just the line, actually), has no closing angle-bracket on the end.
Page 36 “JavaScript Console” has been renamed in Chrome: its new name is “Developer Tools”.
Page 36: Am I the only one for whom Ctrl + Shift + J does not open the console? F12 does, though.
Page 38, last line: “… in which you opened it in.” Eliminate either instance of ‘in’ and this will be grammatically correct.
At the risk of seeming pedantic, let’s add Page 53, where the paragraph starting with “Boolean values are primarily…” contains the word “test” on the 2nd line. This should be “tests” for agreement with the earlier verb and its subject.
OK, full-blown editorial pedantry, now. Page 56, 2nd checkmark: “each time it’s run” requires an apostrophe to make “it’s” a contraction. Without the apostrophe, it’s a possessive.