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 |
---|---|---|---|---|
Page ix line 3 |
The given product link http://shop.oreilly.com/product/0636920024231.do does not work. |
Tom Verhoeff | Jun 15, 2014 | |
chapter 3.3.2 Prototype Cloning |
In chapter 3.3.2 (I guess), Prototype Cloning, I read the code: |
Anonymous | Oct 13, 2014 | |
Other Digital Version | Chapter 5, Server Side Concerns, Next steps | In the following line from the code sample, I believe the + should not be there. |
Jim Argeropoulos | Mar 18, 2015 |
PDF, ePub | Page viii First paragraph under "Who this book is not for" |
"David Flanagan," the author of <i>JavaScript: The Definitive Guide</i>, is misspelled as "David Flannagan." |
Jeffrey Barke | Aug 30, 2015 |
Printed | QUnit 2.x (following good JS programming practice) no longer exposes its commands as globals. Therefore none of the QUnit examples in the book work as written. Maybe just a quick little post somewhere on how to modify the code to work with QUnit 2? |
Dave Kaye | Sep 02, 2016 | |
Printed | Page Page96 Half way down running Grunt |
In Ch4 4 when running Grunt to automate the build, I am seeing: |
Leigh Mathieson | Jul 22, 2017 |
Page 3 In First-Class Functions section |
in Chapter 1, I found a broken link. The Underscores.js library has a custom URL now rather than a Github Pages url. |
Anonymous | Sep 21, 2016 | |
Page 8 1st paragraph after numbered dot points |
The following paragraph is confusing. |
Darrenddd | Aug 01, 2015 | |
Page 11 2nd+3rd paragraph |
IMHO, the explanation why the savedCart.items is also altered is wrong. Not the items field in the cartProto prototype is overwritten, but cart.items is a reference to savedCard.items after the invocation of createCart. |
Sep 24, 2014 | ||
Page 22 code block |
There's an unnecessary line because the same object is assigned. |
iwanaga | Jul 13, 2014 | |
Page 22 1st code snippet |
The line |
Sep 24, 2014 | ||
Page 22 code snippet |
...... |
Anonymous | Mar 16, 2015 | |
Printed | Page 22 15th line (code in second paragraph) |
We say that we can fix the fact that the event listener gets called with a different context by using bind. The example given is of binding "lightbulb" to the toggle function which is declared in the global scope but the actual function assigned to the click handler is the member function lightbulb.toggle (the member function) instead of the global "toggle" function to which we have bound the lightbulb object. |
Ken Marsh | May 20, 2018 |
Printed | Page 22 5th and 6th lines |
Duplicated line: |
Ken Marsh | May 20, 2018 |
Printed | Page 26 top code snippet |
Code snippet should read: |
Anonymous | Dec 28, 2016 |
Page 28 United States |
In the example code under "Named Parameters" from Ch.2, line 14: |
Glenn Cueto | Feb 16, 2015 | |
Page 54 2nd paragraph |
> Simply pass any object into Object.create(), and it will be be (snip) |
iwanaga | Jul 18, 2014 | |
Page 72 "Substitutable" paragraph, end of first line |
"substitute one module with another, as long is" |
Sep 24, 2014 | ||
Printed | Page 96 If manually building/ browserifying rather than automating with Grunt |
Grunt did not work as planned, even if manually installing and running browserify (so public/app.js becomes 9395 lines of code) I am still seeing failing tests. |
Leigh Mathieson | Jul 22, 2017 |
Page 101 5th |
In the first line, "microlibary" should be "microlibrary". |
sandbox wang | Nov 05, 2015 |