


This edition is thoroughly revised and modernized to reflect the current state of JavaScript and web browsers, with brand-new material, such as a chapter on code performance in JavaScript, and expanded coverage of recursion and closures. How to harness Node.js to build servers and utilities.How to use the DOM effectively to interact with browsers.How to script the browser and make basic web applications.How to organize and clarify your code with object-oriented and functional programming techniques.The essential elements of programming, including syntax, control, and data.As you build projects such as an artificial life simulation, a simple programming language, and a paint program, you'll learn: Author Marijn Haverbeke immerses you in example code from the start, while exercises and full-chapter projects give you hands-on experience with writing your own programs. Though simple for beginners to pick up and play with, JavaScript is a flexible, complex language that you can use to build full-scale applications.Įloquent JavaScript, 2nd Edition dives deep into the JavaScript language to show you how to write beautiful, effective code. JavaScript lies at the heart of almost every modern web application, from social apps to the newest browser-based games.
