Errata
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 |
---|---|---|---|---|---|
Page 1 3rd paragraph |
"It?s an API (Application Programming Interface) |
Randy Owens | Feb 12, 2013 | ||
Page 2 2nd paragraph |
"It?s a collection of properties and methods that deal with browser?s |
Randy Owens | Feb 12, 2013 | ||
Page 3 1st paragraph |
"...so you |
Randy Owens | Feb 12, 2013 | ||
Page 3 3rd paragraph |
"It?s a very popular language, it is practically everywhere...." |
Randy Owens | Feb 12, 2013 | ||
Printed, PDF | Page 4 2nd paragraph |
((("environment" |
Adam Zaremba | Jun 03, 2013 | |
Page 4 8th paragraph |
"You can make alias to it in /bin/jsc...." |
Randy Owens | Feb 12, 2013 | ||
Page 12 3rd paragraph (after "null and undefined") |
"You saw the first three of the first three of the five primitive types...." |
Randy Owens | Feb 12, 2013 | ||
Page 15 3rd paragraph (after "Strict comparison") |
"Have you noticed ... used so far." |
Randy Owens | Feb 12, 2013 | ||
Page 15 3rd paragraph (after "Strict comparison") |
"...that all code example..." |
Randy Owens | Feb 12, 2013 | ||
Page 15 4th paragraph |
"Three equal signs mean _strict comparison...." |
Randy Owens | Feb 12, 2013 | ||
Page 16 2nd paragraph |
"...they'll always be casted to true...." |
Randy Owens | Feb 12, 2013 | ||
Page 18 1st paragraph |
"If you skip it will still work...." |
Randy Owens | Feb 12, 2013 | ||
Page 18 1st paragraph |
"The $... |
Randy Owens | Feb 12, 2013 | ||
Page 19 JavaScript for-in example |
In the for-in loop itself, "out += key + ': ' + clothes[key] . "\n";", that last period seems to be left over from the PHP version, and should be another plus sign. |
Randy Owens | Feb 12, 2013 | ||
Page 24 2nd line |
"sum(3); // 3", but since the whole point was to make a default of 2 for the second addend, it should be a 5 in the comment part. |
Randy Owens | Feb 12, 2013 | ||
Page 30 example pseudo-code at bottom |
In the interpreter's "comments" finding global_ten, "yey me!", I would really expect "yay". |
Randy Owens | Feb 12, 2013 | ||
Page 48 3rd paragraph |
"You?ve already seen the use of object literals at several occasions in this book. For |
Randy Owens | Feb 14, 2013 | ||
Page 49 3rd paragraph |
"...the space around the dot in optional and the interpreter |
Randy Owens | Feb 14, 2013 | ||
Page 49 4th paragraph |
"(strings |
Randy Owens | Feb 14, 2013 | ||
Page 50 2nd paragraph |
"show up if you don?t filtered them out...." |
Randy Owens | Feb 14, 2013 | ||
Page 51 7th (last) paragraph |
"...for any of the two objects." |
Randy Owens | Feb 14, 2013 | ||
Page 62 1st paragraph |
"...in its 9 |
Randy Owens | Feb 14, 2013 | ||
Page 64 note |
"...when typeof in not enough." |
Randy Owens | Feb 14, 2013 | ||
Page 65 1st paragraph |
"...the method hasOwnProperty(), it lets you differentiate...." |
Randy Owens | Feb 14, 2013 | ||
Page 70 7th paragraph |
About splice(), it says "It removes elements |
Randy Owens | Feb 14, 2013 | ||
Page 71 2nd paragraph |
"...the |
Randy Owens | Feb 14, 2013 | ||
Page 71 5th paragraph |
"Let's consider regular expressions next" |
Randy Owens | Feb 14, 2013 | ||
Page 72 2nd section title |
"exec() ======" Note from the Author or Editor: |
Randy Owens | Feb 14, 2013 | ||
Page 72 4th paragraph |
"Let's see an example is more detail." |
Randy Owens | Feb 14, 2013 | ||
Page 75 2nd paragraph |
Referring to slice(), substring(), and substr(): |
Randy Owens | Feb 14, 2013 | ||
PDF, Mobi | Page 88 2nd paragraph |
"Both methods are the same in you don?t...." |
Randy Owens | Feb 20, 2013 | |
PDF, Mobi | Page 89 3rd paragraph |
"...equivalent of is_array() is PHP." |
Randy Owens | Feb 20, 2013 | |
PDF, Mobi | Page 95 6th paragraph |
"...or using it?s call method:" |
Randy Owens | Feb 21, 2013 | |
Page 96 8th (last) paragraph |
"Attempt... will now be unsuccessful:" |
Randy Owens | Feb 21, 2013 | ||
PDF, Mobi | Page 98 1st paragraph |
"Then this function return a new function...." |
Randy Owens | Feb 21, 2013 | |
Page 100 last example |
"constant.define('hi', 'hoho')' // false" |
Randy Owens | Feb 21, 2013 | ||
Page 101 4th paragraph |
"...it |
Randy Owens | Feb 21, 2013 | ||
Page 101 4th paragraph |
"This chunks of code...." |
Randy Owens | Feb 21, 2013 | ||
PDF, Mobi | Page 105 4th paragraph |
"(say, on open source library)" |
Randy Owens | Feb 21, 2013 | |
PDF, Mobi | Page 105 2nd bullet point |
"? adding all you stuff there" |
Randy Owens | Feb 21, 2013 | |
PDF, Mobi | Page 106 3rd paragraph |
"For a desert,..." |
Randy Owens | Feb 21, 2013 | |
PDF, Mobi | Page 106 6th paragraph |
"And we want to get the exact same object every |
Randy Owens | Feb 21, 2013 | |
Page 108 1st paragraph |
"...lets you to defer...." |
Randy Owens | Feb 21, 2013 | ||
Page 111 7th paragraph |
"...its great manual (http://php.net) especially with |
Randy Owens | Feb 21, 2013 | ||
Page 112 1st paragraph |
"...you?ll happy to learn...." |
Randy Owens | Feb 21, 2013 | ||
Page 112 3rd paragraph |
"...may not be able deduct the purpose...." |
Randy Owens | Feb 21, 2013 | ||
Page 112 3rd paragraph |
"...so the it provides...." |
Randy Owens | Feb 21, 2013 | ||
Page 113 4th paragraph |
"...some error are easily masked...." (oh, the irony!) |
Randy Owens | Feb 21, 2013 |