JavaScript & DHTML Cookbook
by Danny Goodman
The following were corrected in the 09/03 reprint:
Here's a key to the markup:
[page-number]: serious technical mistake
{page-number}: minor technical mistake
: important language/formatting problem
(page-number): language change or minor formatting problem
(6) Last paragraph, first sentence.;
Text originally referred to "splice,"
now reads:
"slice."
{16} Example 1-1, line 9;
The typeof tests in the if statement on lines 8 and 9 test hours twice.
the second "typeof hours" now reads "typeof minutes", since minutes has not yet been tested.