Back to the JavaScript home page Available at Amazon.com
About Chapters Examples Reference
Intro
Contents
Author Bios
Other Books
How to Buy
Errata
Check Out These Other Books!
home >> about >> errata

Errata

As with any project of this size, errors are bound to creep into the final product.

This page will be updated frequently to reflect all errors discovered in the second edition of JavaScript: The Complete Reference.

Please send any comments or errors to jsreferrata@pint.com. We apologize but we cannot respond to each individual inquiry.

Chapter 6

p.146
Examples showing Number object and comparing their values should include the new operator

var n1 = new Number(1);
var n2 = new Number(2);

etc.

Chapter 8

p.206
The first code example on the page will not render as shown in the subsequent illustration unless break tags are added to the source code as follows:

var pattern = /(cat) (and) (dog) /;
var result = pattern.exec("My cat and dog are black.");

document.writeln("result = "+result+"<br />");
document.writeln("result.length = "+result.length+"<br />");
document.writeln("result.index = "+result.index+"<br />");
document.writeln("result.lastIndex = "+result.lastIndex+"<br />");
document.writeln("result.input = "+result.input+"<br />");

Chapter 9

p.238, Second paragraph
The word regulated should be relegated.

Chapter 12

p.355, Table 12-1
The description for the Feature Parameter left should read "use screenx", not "use screeny".



The errata for the first edition of this book are available here.



About | Chapters | Examples | Reference | Site Map


© 2001, 2005 PINT Inc.
[contents and programming of the site]
© 2001 The McGraw-Hill Companies
[contents of the print work JavaScript: The Complete Reference]

Available at Amazon.com