JavaScript is the engine behind every web app, and a solid knowledge of it is essential for all modern web developers. Pro JavaScript for Web Apps gives you all of the information that you need to create professional, optimized, and efficient JavaScript applications that will run across all devices. It takes you through all aspects of modern JavaScript application creation, showing you how to combine JavaScript with the new features of HTML5 and CSS3 to make the most of the new web technologies.
This book has the kiss of death for any programming book; a lot of the code samples don't work or don't work as intended. I got about 1/2 through before I just gave up. I realized that I was spending as much time on StackExchange troubleshooting bugs as I was reading the book. Another troubling thing about it is that this book is just barely a javaScript book; it's more of a jquery book. Most of the code in the book is jquery, I would expect so jquery but it's so much that I feel like it makes the books title almost misleading. For some reason the author only ever uses javascript embedded in html files too.
Edit: the best case that can be made for this book having serious issues with the code not working can be found in chapter 3. After completing chapter 3, the books code looks nothing like the source code that can be downloaded from the site. It includes using script sources that aren't even mentioned until the following chapter.