Description
JavaScript lies at the heart of almost each modern web application, from social apps to the latest browser-based games. Though simple for beginners to select up and play with, JavaScript is a versatile, complex language that you’ll 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. Creator Marijn Haverbeke immerses you in example code from the start, at the same time as exercises and full-chapter projects provide you with 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, keep an eye on, 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 to be had online in an interactive sandbox, where you’ll 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 to be had in the No Starch Press edition!