We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.

The latest version of the book is P2.0, released 20 days ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

Key: Typo Tech. Error Suggestion Not a problem Next edition

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:  

(To find out what version you have, look at the copyright page, a few pages in from the front of the book. If it says (say) 'Second Printing', then here it'll be P2.0. If there are interim PDF releases in that printing, they'll be 2.1, 2.2, and so on.)

PDF Paper Description Found in Fixed in
4
#76569: A loop like this will run forever: var ajaxRequest = new XMLHttpRequest; ajaxRequest.open('GET', url); ajaxRequest.send(null); while (ajax...more...
P1.0
26-Mar-14
17

#52139: In the checkPassword function, the query variable is defined as queryStr but used as selectUser.--William Bowers

P1.0
07-Jul-13
23
#51884: This is from the LeanPub edition, so the error possibly doesn't exist (presuming it's an error). You list "...under jQuery 1.5+..." var ...more...
P1.0
07-Jun-13
27

#76527: $container.one('newTooltip', function() {
$tooltip.remove();
});
one instead of on

P1.0
10-Mar-14
33 17

#50370: In the code snippets variables 'queryStr' and 'selectUser' should be the same
variable, I think.--michael cannon

P1.0
13-Dec-12
34

#53339: The jsFiddle referenced is missing the alway() callback used in the text, so it does not log "A choice was made" as the text claims it will.--tom

P1.0
10-Dec-13
38
#53340: The book states "So, to recap, a Promise takes three kinds of callbacks: done, fail, and progress." I believe you are overlooking the fourth ...more...
P1.0
10-Dec-13
51

#52489: In Asyncjs/forEachSeries.js code sample, "functio isFilename" has a typo. "function" is missing last 'n' (functio).
--Rob McCabe

P1.0
28-Aug-13
51 36
#50381: var showPromise = $flash.show(); var hidePromise = $flash.hide(); I think they should be: var showPromise = $flash.show().promise(); v...more...
P1.0
15-Dec-12
70 55

#50382: I think it's better to mention that "to invoke the callback function in the worker is a must", or the queue cannot work properly.--PunCha

P1.0
15-Dec-12
127
#50411: (ePub) Last paragraph, first sentence: “Node’s error conventions may not ideal for Async.js’s collection methods.” Should be “Node’s ...more...
P1.0
24-Dec-12