Errata
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 Note Update
Version | Location | Description | Submitted by | Date submitted |
---|---|---|---|---|
Other Digital Version | http://speakingjs.com/es5/ch15.html#_mandatory_parameters_enforcing_a_minimum_arity | The third approach throws an exception for foo() and sets optional to undefined for foo(undefined). |
Delta Notch | Mar 05, 2015 |
Other Digital Version | http://speakingjs.com/es5/ch16.html#_background_static_versus_dynamic | console.log(foo('hello')); // arg: hello |
Delta Notch | Mar 06, 2015 |
Other Digital Version | http://speakingjs.com/es5/ch16.html#iife | The original text says: |
Delta Notch | Mar 06, 2015 |
Other Digital Version | http://speakingjs.com/es5/ch17.html#_callbacks_and_extracted_methods | The text says: |
Delta Notch | Mar 07, 2015 |
Other Digital Version | http://speakingjs.com/es5/ch17.html#_callbacks_and_extracted_methods | The text says: |
Delta Notch | Mar 07, 2015 |
Other Digital Version | http://speakingjs.com/es5/ch17.html#_the_effects_of_enumerability | enumberability |
Delta Notch | Mar 07, 2015 |
Other Digital Version | http://speakingjs.com/es5/ch17.html#definition_vs_assignment | [ hasOwnProperty', |
Delta Notch | Mar 07, 2015 |
Other Digital Version | http://speakingjs.com/es5/ch17.html#_privileged_methods | function Constr(...) { |
Delta Notch | Mar 10, 2015 |
Other Digital Version | toString() is preferred by the conversion to string: |
Delta Notch | Mar 10, 2015 | |
Other Digital Version | http://speakingjs.com/es5/ch18.html#_comparing_numbers | function compareCanonically(a, b) { |
Delta Notch | Mar 11, 2015 |
Other Digital Version | http://speakingjs.com/es5/ch18.html#_comparing_objects | The parameter compareFunction is also useful for sorting objects: |
Delta Notch | Mar 11, 2015 |
Other Digital Version | http://speakingjs.com/es5/copyright.html | I think you may have forgotten to close the <title> tag in the HTML (or closed it improperly?) so that the entire page is not rendering. |
Delta Notch | Mar 12, 2015 |
Other Digital Version | http://speakingjs.com/es5/ch19.html#_matching_everything_or_nothing | The group matches everything, while not capturing anything, which the group from influencing the result returned by exec(). |
Delta Notch | Mar 12, 2015 |
Other Digital Version | http://speakingjs.com/es5/ch16.html#iife | Sorry, I retract what I wrote regarding this code: |
Delta Notch | Mar 18, 2015 |
Chapter 12. the last code about String.prototype.replace | In the Books,the last code : |
bingxl | Aug 21, 2017 | |
Other Digital Version | 7 Chapter 7: JavaScript's Syntax - Strict Mode section |
The sub-header 'The arguments objects has fewer properties' contains a typo: 'objects' should be 'object.' |
Brent Guffens | Dec 29, 2016 |
Page 109 Under title: Best practice: pretend there’s only one zero. |
It's stated that: |
Mohammed Medhat | Mar 25, 2015 | |
Printed | Page 118 Expression after "Therefore, Math.round(x) is the same as:": |
Expression after |
Jobinesh | Oct 02, 2015 |
Printed | Page 119 4th paragraph |
"...this formula is relatively complicated because floor seeks the closest larger integer; if you want to remove the fraction of a negative integer, you have to seek the closest smaller integer." |
Wei Zhou | Aug 23, 2016 |
Printed | Page 123 middle page |
For variable++ and variable-- operators it is said that they increments (or decrements) the value of the variable by 1 and returns it, but in the example shows correctly the opposite: return first and increment after that: |
Alessandro Candini | May 01, 2016 |
Printed | Page 206 Bottom third, below "The triple dot operator would also make sense for constructors" |
The arguments passed to the new Date(...[2011, 11, 24]) indicate that the date should be November 24, 2011, but the the comment of the code snippet relates that the date should represent Christmas Eve (24/12). |
Anonymous | May 18, 2016 |