Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Page Last page of PDF First paragraph of "About the Author" |
I’m not editor of JavaScript Weekly, anymore, delete the following part of the sentence: ", edits JavaScript Weekly" |
Axel Rauschmayer |
Jan 23, 2015 | Jan 30, 2015 | |
Page 3 Center of page |
"there is a trademark on _Java_" -> "there is a trademark on _JavaScript_" |
Axel Rauschmayer |
Jan 25, 2015 | Jan 30, 2015 | |
Printed, PDF | Page 7 Under the Values heading |
"All values in JavaScript have properties" should read "Most values in JavaScript have properties". Note from the Author or Editor: |
Chris Aaker | Sep 17, 2014 | Jan 30, 2015 |
Page 10 Compared by reference section |
Example is shown: Note from the Author or Editor: |
Anonymous | Apr 10, 2014 | Jan 30, 2015 | |
Printed, PDF | Page 13 Under the heading Truthy and Fasly |
"Number: -0, NaN" Note from the Author or Editor: |
Chris Aaker | Sep 17, 2014 | Jan 30, 2015 |
Printed, Other Digital Version | Page 22 First paragraph under Variable Scoping and Closures heading |
> y; // This results in listed error (ReferenceError: y is not defined) Note from the Author or Editor: |
Jeff Straw | Apr 20, 2014 | Jan 30, 2015 |
Printed, PDF | Page 25 bottom half of the page |
This statement is not true. Note from the Author or Editor: |
Chris Aaker | Oct 08, 2014 | Jan 30, 2015 |
Page 44 Last two sentences on page |
CHANGE |
Axel Rauschmayer |
Jan 25, 2015 | Jan 30, 2015 | |
Page 45 Center of page |
CHANGE FROM |
Axel Rauschmayer |
Jan 25, 2015 | Jan 30, 2015 | |
Page 60 Center of page |
In both code snippets, the name of the method is "foreach", but it should be "forEach". That is: make 2 replacements. |
Axel Rauschmayer |
Jan 12, 2015 | Jan 30, 2015 | |
Page 64 Top of page |
In the first two code snippets, the line following 'use strict' is: |
Axel Rauschmayer |
Jan 12, 2015 | Jan 30, 2015 | |
Page 71 Compared by reference section |
Example is shown: Note from the Author or Editor: |
Anonymous | Apr 10, 2014 | Jan 30, 2015 | |
Page 118 Last line before Sect. "Integers via the Custom Function ToInteger()" |
Expression after "Therefore, Math.round(x) is the same as:": |
Axel Rauschmayer |
Jan 23, 2015 | Jan 30, 2015 | |
Page 123 Top third |
In the two items `-number` and `+number`, the word "argument" should be replaced with "operand". That’s a total of 2 replacements. |
Axel Rauschmayer |
Jan 12, 2015 | Jan 30, 2015 | |
Printed, Other Digital Version | Page 152 near center of page |
Case labels in the switch statement are complete color names except for one. "or" should be replaced with "orange" for consistency. Note from the Author or Editor: |
Jeff Straw | Apr 26, 2014 | Jan 30, 2015 |
Page 154 Starting in the middle |
Three times: replace “logit” with “logMessage”. |
Axel Rauschmayer |
Jan 12, 2015 | Jan 30, 2015 | |
Printed | Page 160 First paragraph. |
This sentence: Note from the Author or Editor: |
Jim Fathman | Apr 20, 2014 | Jan 30, 2015 |
Page 162 Top of page |
REPLACE |
Axel Rauschmayer |
Jan 12, 2015 | Jan 30, 2015 | |
Page 163 Top of page |
– In both code snippets: replace "catchit" with "catchIt" (three times) and "throwit" with "throwIt" (three times). That is, the "i" should be a capital letter in all cases. |
Axel Rauschmayer |
Jan 12, 2015 | Jan 30, 2015 | |
Printed, Other Digital Version | Page 168, 169 Bottom of 168, top of 169 |
In the pair of examples showing that a var declaration is hoisted but its assignment is not, a named function expression rather than a normal function expression appears. In addition, the name "foo" appears twice, both as the name of the var and the name of the function. The example should perhaps be this instead: Note from the Author or Editor: |
Jeff Straw | Apr 27, 2014 | Jan 30, 2015 |
Page 174 Center of page |
Replace "the variable in an array" with "the variable, e.g. in an array" |
Axel Rauschmayer |
Jan 12, 2015 | Jan 30, 2015 | |
Page 176 section 'named parameters as descriptions' |
selectEntries(3, 20, 2); what do these two numbers mean? Note from the Author or Editor: |
Lyall Braidwood | Mar 09, 2014 | Jan 30, 2015 | |
Page 177 Center of page |
The last code line on the page reads as follows: |
Axel Rauschmayer |
Jan 23, 2015 | Jan 30, 2015 | |
Page 188 Second item in bullet list |
"an object with that scopes variables" -> "an object with that scope’s variables" |
Axel Rauschmayer |
Jan 12, 2015 | Jan 30, 2015 | |
Printed | Page 191 2nd paragraph |
The phrase "faculty function" should probably be "factorial function". Note from the Author or Editor: |
Jim Fathman | Apr 26, 2014 | Jan 30, 2015 |
Printed | Page 195 Diagram in center of page |
In step 5, after the execution of inc(1), the next call of inc() will start from 6 rather than from 5. Should the value of 5 in the bottom block beside startValue be changed to 6 to represent this? If not, does the modified environment appear at all in the diagram? Note from the Author or Editor: |
Jeff Straw | Apr 28, 2014 | Jan 30, 2015 |
Page 203 Bottom fourth |
The first word in "Tthe following function checks whether value is an object:" is a typo => replace "Tthe" with "The". |
Axel Rauschmayer |
Jan 23, 2015 | Jan 30, 2015 | |
Printed | Page 207 Paragraph above heading "A library method" |
This sentence seems confusing: "The preceding array still has one element too many, null" - it implies that an unneeded element must be deleted. Do you mean instead that the approach requires an extra element (null) to be inserted, as you demonstrate with concat()? Note from the Author or Editor: |
Jeff Straw | Apr 29, 2014 | Jan 30, 2015 |
Page 210 Top of page |
"Obviously, this" -> "This" (that is, remove "Obviously") |
Axel Rauschmayer |
Jan 12, 2015 | Jan 30, 2015 | |
Printed, PDF | Page 214 26th line |
var jane = Object.create(PersonProto); Note from the Author or Editor: |
Sangbok Lee | Jul 22, 2014 | Jan 30, 2015 |
Page 218 Center of page |
Second code snippet on page. |
Axel Rauschmayer |
Jan 12, 2015 | Jan 30, 2015 | |
Page 276 Bottom fourth |
In the sentence "Indices are numbers _i_ in the range 0 ≤ `i` < 2^32^−1.", the index "i" is first formatted as italics, second as code. Format both as italics (_i_). |
Axel Rauschmayer |
Jan 23, 2015 | Jan 30, 2015 | |
ePub | Page 282 last paragraph |
iBooks version, 'page' 282 of 966, end of Ch 12. Note from the Author or Editor: |
Steven Smolinski | May 23, 2014 | Jan 30, 2015 |
Printed | Page 288 Bottom of page. |
In addition to the repeated return, the book is missing a colon in the conditional: Note from the Author or Editor: |
Jim Fathman | May 21, 2014 | Jan 30, 2015 |
Page 291 second paragraph |
'Strict equality (seev' should be 'Strict equality (see' Note from the Author or Editor: |
Lyall Braidwood | Mar 09, 2014 | Jan 30, 2015 | |
Page 330 Starting in the middle of the page |
In the section "Other Functions", all items have the prefix "Math.", except for "min" and "max". Add the prefix there, too. |
Axel Rauschmayer |
Jan 23, 2015 | Jan 30, 2015 | |
Printed | Page 379 Bottom of page |
"latter" should be replaced by "former" in "However, the latter is normally the better choice" Note from the Author or Editor: |
Jeff Straw | May 06, 2014 | Jan 30, 2015 |
Page 417 Start of bottom third |
I’m not editor of JavaScript Weekly, anymore => remove the complete note including parentheses: '(disclaimer: I’m editor of the “JavaScript Weekly” newsletter)' |
Axel Rauschmayer |
Jan 23, 2015 | Jan 30, 2015 |