Errata

You Don't Know JS: Up & Going

Errata for You Don't Know JS: Up & Going

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
, Printed, PDF, ePub, Mobi, , Other Digital Version
Page 5
page x

http://bit.ly/ydkjs-upgoing-code


Preface, using code example, Link was not available

Note from the Author or Editor:
Looks like the URL should actually be:

http://bit.ly/ydkjs-up-going-code

(note: the extra "-" in there between "up" and "going")

Anonymous  Mar 06, 2016 
Printed
Page 21
bottom code snippet

This snippet:

var i=0;

// a `while..true` loop would run forever, right?
while (true) {
// keep the loop going?
if (i<=9){
console.log( i );
i=i+1;
}
// time to stop the loop!
else {
break;
}
}
// 0 1 2 3 4 5 6 7 8 9


Should be changed to this:



var i = 0;

// a `while..true` loop would run forever, right?
while (true) {
// stop the loop?
if ((i <= 9) === false) {
break;
}

console.log( i );
i = i + 1;
}
// 0 1 2 3 4 5 6 7 8 9

Kyle Simpson
Kyle Simpson
 
Apr 04, 2015 
, Printed, PDF, ePub, Mobi, , Other Digital Version
Page 24
4th paragraph

"when you express values in a programs"

should be

"when you express values in a program" (no quotes)

Kyle Simpson
Kyle Simpson
 
May 25, 2015 
, Printed, PDF, ePub, Mobi, , Other Digital Version
Page 42
bullet list

This bullet item:

You need operators to perform actions on.

Should be:

You need operators to perform actions on values.

Kyle Simpson
Kyle Simpson
 
Sep 02, 2015 
, Printed, PDF, ePub, Mobi, , Other Digital Version
Page 65
warning note, first sentence

"callling" should be "calling" (no quotes)

Kyle Simpson
Kyle Simpson
 
Jul 09, 2015 
Printed, PDF, ePub, Mobi, , Other Digital Version
Page 72
middle of page

Two occurrences of "getElementByID", one in the code snippet, one two paragraphs later... both of these should change to:

getElementById (lowercase "d" instead of "D")

Kyle Simpson
Kyle Simpson
 
May 10, 2015