small medium large xlarge

Errata for Pragmatic Guide to JavaScript

 

The latest version of the book is P1.0, released almost 6 years 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.

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 (12-Jul-12)
#49514
Paper page: 7
One of the reported errata is itself possibly incorrect. There reported errata in question is: "#46276: JavaScript code in 'Try this example: "priv...more...
  • Reported in: P1.0 (20-Jan-11)
#46276
Paper page: 7

JavaScript code in 'Try this example: "privates properties.", var publicField = 'foobar'; should be publicField = 'foobar'; --Klaus Rohe

  • Reported in: P1.0 (28-Nov-10)
#45803
PDF page: 31

Y.one('#id').append('<p>This gets at top</p>')

is incorrect, it should be:

Y.one('#id').append('<p>This gets at bottom</p>')--Paul Mallet

  • Reported in: B2.0 (19-Nov-10)
#45648
PDF page: 35

"document.observe('dom:ready', fx)" should read "document.observe('dom:loaded', fx)", correct?--Glen van de Mosselaer

  • Reported in: P1.0 (09-Dec-10)
#45938
Paper page: 98
The top of the JavaScript Cheat Sheet identifies it as the "Pocket Guide to JavaScript's" cheat sheet rather than the "Pragmatic Guide to JavaScript's...more...
  • Reported in: P1.0 (09-Dec-10)
#45939
Paper page: 98
I was hoping the Guide (or at least the Cheat Sheet) would include a reminder of JavaScript's odd way of defining a new class. Perhaps in a future upd...more...
  • Reported in: P1.0 (09-Dec-10)
#45937
Paper page: 102
Missing space in the first paragraph of section B.2: "grab Firebug at [URL]or from the Mozilla Add-Ons directory" (at the end of the first URL).--Sven...more...
  • Reported in: P1.0 (26-Nov-10)
#45775
PDF page: 112

Sixth line starting from the bottom:
"load scripts at the bottom of the " and even more [...]

The word 'page' is probably missing. --Arnaud Meuret

  • Reported in: P1.0 (26-Nov-10)
#45776
PDF page: 114

Last ¶:

Most of use web developers
=>
Most of us web developers--Arnaud Meuret

  • Reported in: P1.0 (26-Nov-10)
#45777
PDF page: 117

Middle of page:
PDoc (a code inline documentation system)
=>
PDoc (an inline code documentation system) ?--Arnaud Meuret

  • Reported in: P1.0 (30-Nov-10)
#45835
PDF page: 119
"jQuery is, at the time of this writing, at version 1.4.2." This was already mentioned at the bottom of the previous page: "(The current version a...more...