JavaScript is the programming language behind today’s web applications, but it’s not always well understood. For years, JavaScript was seen as a collection of parlor tricks that often broke because they weren’t well implemented.

The thoroughly revised second edition of “Eloquent JavaScript” (http://oreil.ly/1FUuc3E) from No Starch Press takes things even further than the first edition, diving deep into the language to show readers how to write effective code. At more than twice its previous length, this new 472-page, US$39.95 edition is packed with brand-new material, including chapters on Node.js, graphics programming, and code performance.

Author Marijn Haverbeke immerses readers in code, and exercises and projects throughout offer readers hands-on experience with writing programs. As readers build projects like an artificial life simulation, a simple programming language, and a paint program, they learn the essential elements of programming, including syntax, control, and data, as well as how to:

° Organize and clarify code with object-oriented and functional programming techniques;

° Script the browser and make basic web applications;

° Use the DOM effectively to interact with browsers;

° Harness Node.js to build servers and utilities.

Haverbeke is an independent developer and author, focusing mostly on programming languages and tools for programmers. He spends most of his time working on open source software, such as the CodeMirror editor and the Tern type inference engine for JavaScript.