Errata
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.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question
| Version | Location | Description | Submitted By |
|---|---|---|---|
| Other Digital Version | ch04.txt many locations in file |
In the downloadable code archive for "JavaScript: The Good Parts" (http://examples.oreilly.com/9780596517748/9780596517748.zip), there are numerous instances where a minus sign (visible in the printed and online versions of the book) are replaced in the file by a three-character sequence, "−" (a with a caret, caret by itself, single-quote). I presume that this is a UTF-8 representation of an em-dash or en-dash or something like that. It should not be any of those characters, it should be the ASCII hyphen (character code 0x2D). |
Anonymous |
| Other Digital Version | 1 code archive |
The downloadable code archive for JavaScript: The Good Parts is located at http://examples.oreilly.com/9780596517748/9780596517748.zip. This archive appears to contain the code examples as they are presented in the first (May 2008) printing of the book. Many errors have since been found, and most of those errors found were corrected in the September 2008 printing and in the Safari Online edition. However, none of those corrections have been applied to the example code archive. |
Anonymous |
| Printed | Page 18 first figure |
Literal can be one of six literals. |
Anonymous |
| Printed | Page 39 code snippet 'better example' on second half of page |
The author likes to reuse the variable/parameter 'i'. This makes the code snippet confusing. Introducing 'k' makes things much clearer: |
Haakon |
| Printed | Page 39 BETTER EXAMPLE |
Not only is the BETTER EXAMPLE confusing, but it's also wrong. |
Heikki Vesalainen |
| Printed | Page 39 first and second code examples |
The lines of the introductory comments in both code examples on this page are too long for the printed version. The resulting line breaks cause invalid syntax due to the use of end-of-line comments. |
yacht |
| Printed | Page 53 code example at the bottom and the following page |
If the emphasis in this example is supposed to be on security (or "privacy" as mentioned at the start of the section), the constructor must take a defensive "deep" copy of the provided "spec" object. |
yacht |
| Printed | Page 83 Main code example, six lines from the end |
(I have the first printing, May 2008) |
Robert Hughes |
| Printed | Page 86 Fifth line of code from the foot |
(This error is in the first printing, May 2008.) |
Robert Hughes |
| Printed | Page 88 After the second line of code at the top of the page |
(This error is in the first printing, May 2008.) |
Robert Hughes |
| Printed | Page 101 First line of text |
(First prinitng, May 2008) |
Robert Hughes |
| Other Digital Version | 113 B.9 |
var foo = function foo() {}; |
John |
