When it comes to learning JavaScript, I’m occasionally asked what books I recommend. Some of these come from those who are just getting into the language; others come from people who have been programming for sometime.
For whatever it’s worth, I don’t consider myself an expert in JavaScript, though I really do like working with the language. I also love seeing its adoption over the web, and some of the technologies that have emerged that make it possible to write both client-side and server-side applications.
Anyway, so when it comes to JavaScript, there are two books that I always recommend to both beginners and novice programmers alike.