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 |
---|---|---|---|---|
Printed | Page Page xiv The icons indicating a tip or warning |
On page 447, there is a warning with a scorpion icon but this icon is not part of the two icons listed on page xiv. |
Emrah Abdurahman | Feb 09, 2022 |
ePub | Page n/a 2 typos |
1. |
Anonymous | Mar 25, 2022 |
Printed | Page page 27 section 3.2.3, 1st paragraph, line 1 |
delete stray period in “operators . that” |
Tim Stewart | Nov 15, 2022 |
Printed | Page page 29 last paragraph (starting “The negative zero value”) |
p. 29, last paragraph (starting “The negative zero value”): bad break between lines 1 and 2 in “Jav-aScript’s” |
Tim Stewart | Nov 15, 2022 |
Printed | Page page 31 first full paragraph (starting “BigInt literals are written”) |
p. 31, first full paragraph (starting “BigInt literals are written”), line 2: change “the” to “they” in “the are in base 10” |
Tim Stewart | Nov 15, 2022 |
Printed | Page page 62 2nd group of code font lines (starting with “true”) |
p. 62, 2nd group of code font lines (starting with “true”), line 1: fix “Evalutes” to “Evaluates” |
Tim Stewart | Nov 15, 2022 |
Printed | Page Page 110 Last paragraph under the heading "for/of with strings" |
Strictly speaking, should "UTF-16 character" and "UTF-16 characters" be "UTF-16 code unit[s]"? |
Joe Barnes | Nov 17, 2022 |
Printed, PDF | Page Page 365 4th line from the bottom |
The variable "url" is bound to the same variable of the for loop. Thus, when "fetchOne(url)" is executed, the value of the variable "url" is always the last element of the array "urls". |
Zhiliang Xu | Jan 03, 2023 |
Page p.214, section 8.8.1 First code snippet |
The formula to compute the standard deviation takes the size of the array minus one. It shoudn't be minus one, just the size of the array: |
Anonymous | Jan 09, 2023 | |
Page Page 152 Last paragraph |
In the last paragraph of section 6.10.6, the snippet comment reads : |
Charles | Jan 09, 2023 | |
Page Page 193 Last paragraph |
The paragraph provides a way to easily test for an existing array, and to assign it to a variable, or, if no array exists, create a new one: a = a || []; |
Charles | Jan 09, 2023 | |
Page Page §8.5, on p.204 Last paragraph of the section |
Typo: "within that namesapce" |
Charles | Jan 09, 2023 | |
Page page 23 last paragraph |
Any JavaScript value that is not a number, a string, a boolean, a symbol, null, or unde |
Davide | Feb 06, 2023 | |
Page page 24 last paragraph |
But numbers, strings, boolean, and symbol values behave as if |
Davide | Feb 06, 2023 | |
ePub, | Page Chapter 13. Asynchronous JavaScript Second paragraph under section number 13.3 |
This was submitted in March 2022 as one of a two-part submission and is unconfirmed. The first item in the submission is clear as entered. |
Douglas Schneider | May 16, 2023 |
Page p.239, Section 9.5.2 2nd § |
The author talks about a function, but it is a class, not a function: |
Charles | Jul 22, 2023 | |
Printed | Page 3 first 4 words |
My instinct is that 'by making HTTP requests' should be 'to make HTTP requests' |
Loren Cannon | Jun 29, 2022 |
7.1.2 The Spread Operator 3rd paragraph |
In my opinion, in |
Dietmar | Sep 02, 2023 | |
Printed | Page 9.3.3, p234 2nd code example |
The last line of the definition of static parse(s) should read: |
Michael R Lewy | Jun 17, 2023 |
Page 11.6.1 JSON Customizations 4th paragraph's example code |
/^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d.\d\d\dZ$/.test(value)) { |
Anonymous | Jan 23, 2023 | |
Printed | Page 12 4th paragraph |
Example code 1-1: |
Simon | Jun 24, 2022 |
Printed | Page 43 Section 3.8, 1st and 2nd line |
Quote: "There is a fundamental difference in JavaScript between primitive values (undefined, null, booleans, numbers and strings) ..." - In the parenthesis, only 5 out of 6 primitive data types are listed (at the time of writing) - Symbol being the omitted one. |
thewebmasterp | Jun 07, 2022 |
Printed | Page 110 for/of with strings |
In this section, « UTF-16 character » does not mean an actual character, which is confusing. Contrast with pages 32 & 35, which call them just "16-bit values" instead. It seems to be a confusion coming from the habit of using a type named `char` in Java, or the `charAt` method in both Java and Javascript. |
Mathieu Bouchard | May 22, 2022 |
Printed | Page 128 Blank page |
Page 128 is not printed. Page 127 before it is printed. Next pages 129-132’s bind loose and fallen off when open. I can take photos of the book to show. |
HARYATI HASSAN | Jan 22, 2022 |
Page 137 last paragraph |
Attempting to set a property on null or undefined also causes a TypeError. |
Davide Pedrotti | Feb 13, 2023 | |
Printed | Page 215 8.8.2 |
On Wikipedia, "Higher-order function" includes also any function that takes a function as a parameter, regardless of whether it also returns a function. From a quick search, this seems to be the definition used everywhere in every programming language, with the exception of the many people who are quoting The Definitive Guide. |
Mathieu Bouchard | May 22, 2022 |
Page 215 First function example (function "not") |
The third line of function "not" reads: |
Joaquin Moreno | Jan 18, 2023 | |
Printed | Page 279 2nd paragraph |
Suggestion to add an opening and closing parenthesis after the word subarray. |
Emrah Abdurahman | Jan 06, 2022 |
ePub | Page 279 Section 8.7.7, 3rd bullet at end of section |
In the last bullet, there is this sample code (comments removed, call to console.log added for debugging): |
Anonymous | Feb 24, 2022 |
Printed | Page 303 2nd paragraph |
The second to last sentence of the second paragraph states the following: |
Emrah Abdurahman | Jan 13, 2022 |
Printed | Page 314 3rd paragraph |
1st sentence of the second paragraph of section 11.7.3. |
Emrah Abdurahman | Jan 14, 2022 |
Printed, PDF | Page 344 3rd line of code |
I think third line of code should be: |
Joaquin Moreno | Nov 15, 2022 |
Printed | Page 345 2nd code block example |
At the start of the getText() function, the request variable is declared without a let, const, or var keyword. |
Emrah Abdurahman | Jan 20, 2022 |
Printed | Page 346 2nd line of Page (example code) |
The code comment contains an erroneous repetition of the word „to“: „So we register more event handlers to to be called…“ - |
Christian Gabrisch | Jan 22, 2022 |
Printed | Page 350 2nd paragraph |
Regarding the second sentence of the second paragraph of the "Promise Terminology" section. |
Emrah Abdurahman | Jan 21, 2022 |
Printed | Page 357 First line |
On page 357, top line, code is |
Jan Ottar Lingjærde | Mar 15, 2024 |
Printed | Page 423 Last paragraph at the bottom of page 423 |
Change "should to be aware of" to "should be aware of". |
Emrah Abdurahman | Feb 05, 2022 |
Printed | Page 442 "children" section near the top of the page |
The children property returns an HTMLCollection rather than a NodeList according to MDN: |
Emrah Abdurahman | Feb 08, 2022 |
Printed | Page 443 3rd paragraph |
The paragraph describing the childNodes property has a duplicate "that" word. |
Emrah Abdurahman | Oct 06, 2021 |
Printed | Page 458 3rd paragraph |
Error in HTML code: |
Tor Galaasen | Nov 06, 2023 |
Printed | Page 477 1st comment |
Change "customElement.define()" on the first comment line to "customElements.define()" to match the property name. |
Emrah Abdurahman | Feb 19, 2022 |
Printed | Page 490 Caption of Figure 15-9 |
Change the caption of Figure 15-9 from "The lineCap and lineJoin attributes" to "The lineCap and lineJoin properties". |
Emrah Abdurahman | Feb 21, 2022 |
Printed | Page 508 First comment |
Suggestion to change "audioContext" to "AudioContext" as this is reflecting the object itself and not the variable name. |
Emrah Abdurahman | Mar 02, 2022 |
Printed, PDF | Page 521 Setting request headers - The search function |
There might be an error with the part 'let url = new URL("/api/search");' in the search function as the URL() constructor receives an absolute URL string as the argument or a relative URL as the first argument and the absolute URL that it is relative to as the second argument. Please help check. |
Simon Nguyen | Jul 15, 2023 |
Page 529 15.11.2 Server-Sent Events, 3rd paragraph |
```diff |
Anonymous | Apr 17, 2023 | |
Printed | Page 544 4th and 5th full paragraphs |
In the 4th and 5th full paragraphs on page 544, the IDBRange object is mentioned. I think this object's API name is IDBKeyRange according to MDN: |
Emrah Abdurahman | Mar 16, 2022 |
Printed | Page 545 Caption of Example 15-13 |
Change "A IndexedDB..." to "An IndexedDB..." for the title of Example 15-13. |
Emrah Abdurahman | Mar 16, 2022 |
Printed | Page 645 17.7 First paragraph |
The word „of“ is repeated mistakenly: „This section explains what you need to know to make sense of of it.“ |
Christian Gabrisch | Jun 20, 2022 |