small medium large xlarge

The latest version of the book is P1.0, released about 1 year ago. If you've bought a PDF of the book and would like to update it to this version (for free), visit your home page.

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

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P1.0 (24-Dec-18)
#84189
PDF page: 27
Paper page: 8
When I run the code in the browser, outer calls inner. Because "i" isn't set as "const" or "let", it becomes a global variable. The book says that ...more...
  • Reported in: P1.0 (09-Aug-18)
#83484
PDF page: 57

"To retrieve date, use the get() method". Should be data instead of date.--Sebastian Rabuini

  • Reported in: P1.0 (09-Aug-18)
#83483
PDF page: 71

"This all means means"--Sebastian Rabuini

  • Reported in: P1.0 (02-May-19)
#85007
PDF page: 80
For the card deck, one of the suits is spelled 'Spaces' instead of 'Spades'. Maybe this is intentional, or maybe not. Enjoying the book!--Clark Linds...more...
  • Reported in: P1.0 (27-Jan-19)
#84369
Paper page: 132
In the last sentence of the paragraph before the "Wrapping Up" section, there is an "s" where it shouldn't be. The sentence reads: "sIf the objects...more...
  • Reported in: P1.0 (06-Feb-19)
#84471
Paper page: 185

The last bulleted item states "Then then-catch syntax ..." which I believe should be "The then-catch symtax ..."--Robert Boughner

  • Reported in: B5.0 (08-Jun-18)
#83242
PDF page: 186
Paper page: 175
Last sentence of second paragraph begins "A code that returns a promise". In the context of programming, "code" is an uncountable noun; it should just...more...
  • Reported in: B5.0 (08-Jun-18)
#83245
PDF page: 197
Paper page: 186

Second paragraph, first sentence: "The all() static method of promise".. that should be "Promise" styled as a class name.--Mark J. Reed

  • Reported in: P1.0 (22-Apr-19)
#84944
PDF page: 231

Exercise 3 solution. The text says "Runs the code in struct mode". It should say "strict", rather than "struct".--Enrique Delgado Monroy

  • Reported in: B5.0 (26-Jan-19)
#84363
Paper page: 237
In the answer, the line return `${texts[index]}${expression.toString().toUpperCase()}`; could just as well have been written as return `${texts...more...
  • Reported in: B5.0 (26-Jan-19)
#84365
Paper page: 237
Maybe in the next edition, the answer to exercise 5 can be changed to console.log(numbers.filter(num => num % 2 === 0).reduce((total,num) => total +...more...
  • Reported in: B5.0 (26-Jan-19)
#84362
Paper page: 238
[before, after = 0] = beforeAndAfter(0); console.log(`${before} and ${after}`); //0 and 1 The answer for this is incorrect. With the code the is ...more...