Whether you need an example-driven programmer's guide or a complete desk reference, JavaScript: The Definitive Guide is the most authoritative book on this language that runs the Web. The sixth edition offers comprehensive coverage of ECMAScript 5 (the new language standard) and also the new APIs introduced in HTML5. The chapters on functions and classes have been completely rewritten and updated to match current best practices. There is a new chapter that covers language extensions and subsets.