Errata for JavaScript Step by Step
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 |
Printed |
Page 77
|
Reference to missing sample files
On page 77, in the first sentence, there is a reference to two sample files that are not included with the sample code.
Change:
"Here’s an example (also available in the source code on the companion CD called garbagecollection1.txt and garbagecollection2.txt):"
To:
"Here’s an example:"
|
Microsoft Press |
May 06, 2010 |
|
Printed |
Page 78
|
Reference to missing sample file
On page 78, the second paragraph of the Number Conversion section contains a reference to a sample file that is not included on the Companion CD.
Change:
"To explicitly convert a number to a string, call the String() function or use the toString() method, as in these two examples, which can also be found in the file on the companion CD called numberconversion.txt:"
To:
"To explicitly convert a number to a string, call the String() function or use the toString() method, as in these two examples:"
|
Microsoft Press |
Jul 13, 2010 |
|
Printed |
Page 149
|
"splice" should be "slice"
On page 149, the second line of the first code sample under the "Using slice to return parts of an array" heading is incorrect.
Change:
var cutStars = star.splice(2,3);To:
var cutStars = star.slice(2,3);
Microsoft Press is committed to providing informative and accurate
books. All comments and corrections listed above are ready for
inclusion in future printings of this book. If you have a later printing
of this book, it may already contain most or all of the above corrections.
|
Microsoft Press |
May 06, 2010 |
|