Susan Harkins (212) [Avatar] Offline
Please post errors in the published version of Get Programming with JavaScript here. We'll publish a comprehensive list for everyone's convenience. Thank you!

Susan Harkins
Errata Editor
204931 (1) [Avatar] Offline
On page 43 of the book (pdf page 71 of 436) the link to listing 4.3 'Adding tax to find the total cost' ( is in reality directing to the listing 4.2 (,console), so the url link in the pdf is wrong.
428118 (1) [Avatar] Offline
Before, I write about the line that is not correct, I'd like to write a statement about the book. This is a wonderful book. I've had and read two or three other books in this subject, none of them teaches you JavaScript the way that this book does. The layout is wonderful. Thanks.

The second line on page 347, listing 19.1,

<div id="news"> </news>

The closing tag must be </div>.
Susan Harkins (212) [Avatar] Offline
John Larsen (59) [Avatar] Offline
Page 54, second line:

... the player display logic...

Should be

... the movie display logic...
John Larsen (59) [Avatar] Offline
Page 60, Listing 5.3

The last annotation reads:

When the function "It's full of stars!" is assigned...

It should read:

When the function is called, "It's full of stars!" is assigned...
John Larsen (59) [Avatar] Offline
Page 166, Section 10.3.2

The penultimate comment reads:

// The place is the specified direction.

It should read:

// The place in the specified direction.
John Larsen (59) [Avatar] Offline
Page 176, Figure 11.3

The top right gray box says:

exits array []

It should say:

exits object {}
John Larsen (59) [Avatar] Offline
Page 266, paragraph before listing 15.1.

It says:

In the listing 15.1...

It should say:

In listing 15.1...
John Larsen (59) [Avatar] Offline
Page 336, Listing 18.7

The text box should be a self-closing tag to be consistent with the previous sections.

<input type="text" id="txtCommand">

...should be...

<input type="text" id="txtCommand" />