hover_preload hover_preload hover_preload

Code and Errata for JavaScript Step by Step

Errata are being collected for this book. If you'd like to report errata please use the form on this web site.

Click here to file an errata report for JavaScript Step by Step

Errata:
Page 149: Within the section titled "Using slice to return parts of an array" - The code example uses an incorrect function. It shows:
var cutStars = star.splice(2,3);
However, it should be:
var cutStars = star.slice(2,3);

Additionally, this code would return simply "Altair" because the slice() function accepts two arguments, the begin and end index.

end content