Errata

You Don't Know JS: Async & Performance

Errata for You Don't Know JS: Async & Performance

Submit your own errata for this product.

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
PDF
Page 5
para 6

Just typos and grammar errors - the top line is the original string, the line after 'should be' is the proposed correction.

the JS engine has had no inate sense of time,
should be
the JS engine has had no innate sense of time,

vastly simplified pseuduo-code to illustrate the concepts.
should be
vastly simplified pseudocode to illustrate the concepts.

What it does is set up a timer that once that fires,
should be
What it does is set up a timer, that once fired,

So, it should be obvious how timers for example don’t actually
with much temporal accuracy.
should be
So, it should be obvious how timers for example don’t actually
execute with much temporal accuracy.
...or...
So, it should be obvious how timers for example don’t actually
have much temporal accuracy.

Ken Penn  Nov 08, 2014  Feb 19, 2015
, Printed, PDF, ePub, Mobi, Safari Books Online, Other Digital Version
Page 19
last paragraph

"...despite your clearly being able to write asynchronous JS code..." should change to:

"...despite clearly allowing asynchronous JS code..."

Kyle Simpson
Kyle Simpson
 
Aug 31, 2015 
, Printed, PDF, ePub, Mobi, Safari Books Online, Other Digital Version
Page 34
first code snippet

There are two lines that say:

if (!a) {

Those should both be changed to:

if (a == undefined) {



Also, the immediately following paragraph starts:

The if (!a) conditional allows...

That should be changed to:

The if (a == undefined) conditional allows...

Kyle Simpson
Kyle Simpson
 
Apr 04, 2015 
, Printed, PDF, ePub, Mobi, Safari Books Online, Other Digital Version
Page 66
next to last paragraph, 4th word

"chesseburger" should be "cheeseburger" (no quotes)

Kyle Simpson
Kyle Simpson
 
Mar 18, 2015 
, Printed, PDF, ePub, Mobi, Safari Books Online, Other Digital Version
Page 129
bottom code snippet

These first two lines:

`foo(..)` is now also a promisory because it
delegates to the `request(..)` promisory


Those should both have a "// " (no quotes) single-line comment in front of them.

Kyle Simpson
Kyle Simpson
 
Mar 18, 2015 
, Printed, PDF, ePub, Mobi, Safari Books Online, Other Digital Version
Page 181
main code snippet

These two lines in the middle of the main code snippet:

var p1 = it.next();
var p2 = it.next();


should be:

var p1 = it1.next();
var p2 = it2.next();

Kyle Simpson
Kyle Simpson
 
Aug 02, 2015 
, Printed, PDF, ePub, Mobi, Safari Books Online, Other Digital Version
Page 194
next to last paragraph

1. "yield resolve(..)" should be "yield request(..)" (no quotes, still fixed-width font)

2. "return resolve(..)" should be "return request(..)" (no quotes, still fixed-width font)

Kyle Simpson
Kyle Simpson
 
May 10, 2015 
, Printed, PDF, ePub, Mobi, Safari Books Online, Other Digital Version
Page 207
1st paragraph

strike the duplicate "the" here:

...in the the originating...

Kyle Simpson
Kyle Simpson
 
Mar 24, 2015 
Printed, PDF, ePub, Mobi, Safari Books Online, Other Digital Version
Page 260
first paragraph in "Promises and Callbacks" section

abstration --> abstraction

Kyle Simpson
Kyle Simpson
 
May 10, 2015 
, Printed, PDF, ePub, Mobi, Safari Books Online, Other Digital Version
Page 262
note, next to last sentence

The URL for "RxJS for JavaScript" should now be:

http://rxjs.codeplex.com/

instead of:

http://reactive-extensions.github.io/RxJS/

Kyle Simpson
Kyle Simpson
 
Aug 06, 2015