Errata
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted by | Date submitted |
---|---|---|---|---|
PDF, | 585 | I'm a bit confused about the logic here. If the dogs start standing, why is the text "is already sitting" since this.sitting will return false and not true? |
Tyga | Jul 20, 2017 |
Other Digital Version | 27 |
In howdy.html, there is an extra </body> tag in the downloadable files. The correct code should read: |
Greg Raven | Dec 14, 2017 |
Page 87 and 118 Inside the body of the function |
Code Magnets (chapter 3) |
Alvin Ampang | Jul 13, 2022 | |
Printed | Page 130 Could be page 162? Annotation under the array beginning "Notice..." |
In the Russian translation of Head First JavaScript Programming, according to one reader, on page 162 (which I think is page 130 in the English version), the annotation says "Notice that because we start numbering the indices of the array at 0, the length of the array will always be one LESS than the last index." |
Elisabeth Robson |
Jan 30, 2020 |
Mobi | Page 199.4/722 3rd paraphraph |
In the "Initializing a primitive variable" paragraph, there is a section that refers to the "Initializing an object (a reference) variable" |
Alexandros Vasileiou | Apr 07, 2019 |
Printed | Page 352 2 paragraph 1st line of code |
Starting from pg. 349, you start the controller code (at the bottom of page) which states: var controller = {processGuess: function(guess){//more code here}}; this is an object with a method inside correct?, but on pg 352 it's written like this function processGuess(guess){//code here...}; which looks like a regular function not inside an object. Then on pg. 356 it's back to the object method again. Which one is it? |
jfly28 | Jan 21, 2019 |
Printed | Page 354 in function parseGuess |
On page 354 of Head First JavaScript Programming, function parseGuess has three ineffectual error tests: isNan(row), row >= model.boardSize, and column < 0. The other tests row < 0, isNan(column), and column >= model.boardSize are necessary but inadequate. An additional check for the error condition column === " " is needed as well. |
Garth Peterson | Dec 05, 2017 |
Page 381 second to last row |
"we're going rethink our approach" should be |
Diana | Oct 09, 2017 | |
Printed | Page 392 code for the collision method (Russian edition, page may vary) |
This errata was already reported (submitted Jun 29, 2016), but somehow it has a very dramatic effect on my code. When I write |
Marina | Nov 07, 2018 |
Page 486 5th paragraph of image's caption on right hand side of it. |
quacker is only defined here. |
Vahid Kamyab | Jun 25, 2021 | |
Printed | Page 518 Bottom right comment with arrow |
"Oh, and it returns "More please" should be "Oh, and it alerts "More please". The function doesn't "return" anything. |
Jeff | Sep 05, 2017 |
Page 535 end |
I'm not a native English speaker, but I think "Now now" stands for "Not now" at the end of the interview |
Daniel Riaño | Jun 16, 2021 | |
Page 543 Last paragraph, 1st sentence |
Original: "As it turns out, one of the things the new operator does behind the scenes when the object is created is to store information that allows it to determine, at any time, the constructor that created the object." |
Jørgen W. Lang | Aug 22, 2014 | |
Page 610 |
How does (phrase.cliche()) translate into returning true if the string contains a known cliché? How is this comparing what's in the sentences array with what's in the cliche function? |
Tyga | Jul 20, 2017 | |
Page 621 Code for Palindrome method |
var len = this.length - 1; |
Aseem Sharma | Nov 11, 2017 | |
PDF, ePub, Mobi | Page 3650 text |
Current |
Anonymous | Sep 16, 2019 |