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 X last line |
"code in a maintainable away allows you, ..." should be replaced with "code in a maintainable way allows you, ..." Note from the Author or Editor: |
zeroK | Apr 23, 2012 | Jan 26, 2018 | |
Printed | Page 41 Function Declarations, page bottom |
I'm assuming you didn't mean to label this as "Bad" too? Note from the Author or Editor: |
Anonymous | Dec 13, 2012 | Jan 26, 2018 |
Page 42 1st paragraph, 2nd sentence |
"Document comments MAKE take many forms..." instead of "Document comments MAY take many forms..." Note from the Author or Editor: |
Oliver Schmidt | May 01, 2012 | May 09, 2012 | |
Page 47 1st ordere list |
"2. There is an extra line after before each case statement after the first one." - It seems that whether "2. There is an extra line before each case statement after the first one." or "2. There is an extra line after each case statement." would make sense. Seems like these two got intermingled here. Note from the Author or Editor: |
Oliver Schmidt | May 01, 2012 | May 09, 2012 | |
Printed | Page 47 Last code example (bottom of page) |
The final line of example code on the page says: |
Nicholas C. Zakas |
May 13, 2013 | Jan 26, 2018 |
Page 61 Inside first code snippet |
Inside `function addItem(url, text)`, I believe Note from the Author or Editor: |
DarcyParker | Apr 25, 2012 | Jan 26, 2018 | |
Page 61 Inside fourth code snippet |
Inside `function addItem(url, text)`, I believe Note from the Author or Editor: |
DarcyParker | Apr 25, 2012 | Jan 26, 2018 | |
Printed | Page 62 bottom |
at the very bottom is the same type: Note from the Author or Editor: |
citykid72 | Oct 02, 2013 | Jan 26, 2018 |
Page 63 2nd line |
I believe `list.appendChild(div.firstChild);` was intended to be `mylist.appendChild(div.firstChild);` Note from the Author or Editor: |
DarcyParker | Apr 25, 2012 | Jan 26, 2018 | |
Printed | Page 63 2nd paragraph from the bottom |
In the book it is written: "All you need to do is pass in an object containing the properties name and url" Note from the Author or Editor: |
Christos Monogios | Feb 15, 2015 | Jan 26, 2018 |
Page 68 3rd paragraph |
In the sentence "Further, if color ends up..." the function sayColor() is broken as if it were two words: say<line break>Color(). It shouldn't be broken or should have a hyphen (though I think that would be odd for a function name to be hyphenated). Note from the Author or Editor: |
admoman | Jun 30, 2013 | ||
Page 73 top of this page, the code area |
the namespace methods is not "nondestructively", it will overwritten some property; Note from the Author or Editor: |
jfw10973 | Apr 08, 2015 | Jan 26, 2018 | |
Page 77 2nd paragraph |
In the sentence: "Most developers are familiar with the event object that is passed in to an event handler when the event is fired.", there is a typo... Note from the Author or Editor: |
DarcyParker | Apr 26, 2012 | Jan 26, 2018 | |
Page 77 First Snippet |
The first snippet has a comment: Note from the Author or Editor: |
DarcyParker | Apr 26, 2012 | Jan 26, 2018 | |
Page 79 3rd paragraph |
"The placeholders in Handlebars templates are named so that they corresponding to named values in JavaScript." should be "The placeholders in Handlebars templates are named so that they ARE corresponding to named values in JavaScript." or "The placeholders in Handlebars templates are named so that they correspond to named values in JavaScript." Note from the Author or Editor: |
olsch01 | May 18, 2012 | May 09, 2012 | |
Page 84 Top of the page |
Original text: Note from the Author or Editor: |
Artem Oboturov | Jun 25, 2012 | Jan 26, 2018 | |
Page 85 Note in 3rd paragraph |
Original: Note from the Author or Editor: |
Artem Oboturov | Jun 25, 2012 | Jan 26, 2018 | |
Page 88 4th paragraph |
Original: Note from the Author or Editor: |
Artem Oboturov | Jun 25, 2012 | Jan 26, 2018 | |
Page 99 United States |
Bullet 1 Note from the Author or Editor: |
Bob Hanson | May 31, 2012 | Jan 26, 2018 | |
Printed | Page 108 2nd paragraph |
In book is written "There are may approaches, called design patterns, to extending ..." Note from the Author or Editor: |
Christos Monogios | Feb 15, 2015 | Jan 26, 2018 |
Printed | Page 110 line 2 from the bottom |
I think this line is missing "this.". Note from the Author or Editor: |
Anonymous | Apr 02, 2013 | Jan 26, 2018 |
Page 112 bottom of the page |
Refer to MDN, I can't find Object.preventExtension but Object.preventExtensions. I'm not sure this is a typo. Note from the Author or Editor: |
Ivan Yan | Jul 04, 2013 | Jan 26, 2018 | |
Page 113 last paragraph |
"Internet Explorer�s introduction now meant that everyone user-agent string detection was now also identifying this new browser as Netscape." would be better as Note from the Author or Editor: |
DarcyParker | Apr 26, 2012 | Jan 26, 2018 | |
Page 134 1st snippet |
The //target[@name=version] is implied, but not defined in the first snippet. It's implied when showing the example output after the sentence: ""When this Ant script is executed, the output is:" Note from the Author or Editor: |
DarcyParker | Apr 27, 2012 | Jan 26, 2018 | |
Printed | Page 170 First code snippet |
The first code snippet, the directory for tests is incorrect. This line: |
Nicholas C. Zakas |
Oct 08, 2012 | Jan 26, 2018 |
Page 192 Section Function Declarations, 1st paragraph, 4th and 5th sentences |
"There should be one space between the closing parentheses and the right brace. The right brace should be on the same line as the function keyword." Note from the Author or Editor: |
DarcyParker | Apr 24, 2012 | Jan 26, 2018 | |
Page 203 First code block |
In the code example at the top of page 203, there is an unmatched double quote. This is the code block for the switch statement in Appendix A. The default case in this code block reads: Note from the Author or Editor: |
Anonymous | Mar 29, 2013 | Jan 26, 2018 | |
Mobi | Page 2731 "advantages and Disadvantages", 3rd bullet |
"JavaScript can processed in any number of ways before deployment," Note from the Author or Editor: |
steve.clason | Jul 23, 2013 | Jan 26, 2018 |