Eloquent JavaScript, 2nd Ed.: A Modern Introduction to ProgrammingJavaScript lies at the heart of almost every modern web application, from social apps to the newest browser-based games. 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. Eloquent JavaScript, 2nd Edition dives deep into the JavaScript language to show you how to write beautiful, effective code. 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. As you build projects such as an artificial life simulation, a simple programming language, and a paint program, you’ll learn: –The essential elements of programming, including syntax, control, and data –How to organize and clarify your code with object-oriented and functional programming techniques –How to script the browser and make basic web applications –How to use the DOM effectively to interact with browsers –How to harness Node.js to build servers and utilities 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. All source code is available online in an interactive sandbox, where you can edit the code, run it, and see its output instantly. Isn’t it time you became fluent in the language of the Web? Includes an exclusive chapter, only available in the No Starch Press edition! |
Other editions - View all
Eloquent JavaScript, 2nd Ed.: A Modern Introduction to Programming Marijn Haverbeke Limited preview - 2014 |
Eloquent JavaScript, 2nd Ed.: A Modern Introduction to Programming Marijn Haverbeke Limited preview - 2014 |
Common terms and phrases
allows argument array asynchronous block Boolean browser button call stack callback canvas cell chapter character client color console.log constructor contains create critter data structure default define delete digit document draw element error event handler example false field figlet forEach func function called function(event given global global variable graph grid handle headers higher-order functions implement input inside interface JavaScript engines JavaScript program JSON language lava load look loop match method module mouse move multiple node null object operator option path pixels platform game player position problem programming languages prototype recursive regular expression request response result return value runLevel script server simple string style takes talks things tion true unary operator undefined update variable vector width wrap write XMLHttpRequest