Chapter 4

Page 62: In the listing, there’s a semicolon missing after the empty variable declaration. It should read:

var bestAlbumsByGenre = [];

Page 62: In the final code block on the page, there shouldn’t be an underscore or a semicolon in the comment.┬áIt should read:

bestAlbumsByGenre[0][1]; // returns “Patsy Cline:Sentimentally Yours”

Listing 4-3 Where it says indexof, it should actually be indexOf

Leave a Reply

Your email address will not be published. Required fields are marked *