Library Home


Eloquent JavaScript: A Modern Introduction to Programming cover image

Eloquent JavaScript: A Modern Introduction to Programming

(3 reviews)

Marijn Haverbeke

Pub Date: 2014

ISBN 13: 9781593275846

Publisher: Independent

Language: English

Read this book

Conditions of Use

Attribution-NoDerivs
CC BY-ND

Reviews

Learn more about reviews.

Reviewed by Nicholas Caporusso, Assistant Professor, Fort Hays State University on 11/4/18

The book contains a comprehensive and very detailed explanation of most of the fundamental concepts of Javascript. The author covers almost all the aspects of the language, from data types to asynchronous programming and promises. In addition to... read more

 

Reviewed by Mary Lebens, Instructor, Anoka Technical College on 5/21/18

“Eloquent JavaScript” is very comprehensive in its coverage of JavaScript. While most JavaScript textbooks cover only superficial examples of how to use JavaScript on the client side, such as validating forms and displaying alerts, this textbook... read more

 

Reviewed by Brian Bird, Faculty, Lane Community College on 6/20/17

This book is quite comprehensive. It covers the features of the JavaScript language thoroughly as well as giving a complete explanation of the way JavaScript interacts with the DOM and the HTML 5 canvas. Advanced features like Modules are also... read more

 

Table of Contents

  • Introduction

Part 1: Language

  • 1 Values, Types, and Operators
  • 2 Program Structure
  • 3 Functions
  • 4 Data Structures: Object and Arrays
  • 5 Higher-Order Functions
  • 6 The Secret Life of Objects
  • 7 Project: A Robot
  • 8 Bugs and Errors
  • 9 Regular Expressions
  • 10 Modules
  • 11 Asynchronous Programming
  • 12 Project: A Programming Language

Part 2: Browser

  • 13 JavaScript and the Browser
  • 14 The Document Object Model
  • 15 Handling Events
  • 16 Project: A Platform Game
  • 17 Drawing on Canvas
  • 18 HTTP and Forms
  • 19 Project: A Pixel Art Editor

Part 3: Node

  • 20 Node.js
  • 21 Project: Skill-Sharing Website
  • Exercise Hints

About the Book

JavaScript lies at the heart of almost every modern web application, from social apps like Twitter to browser-based game frameworks like Phaser and Babylon. 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.

This much anticipated and thoroughly revised third edition of Eloquent JavaScript dives deep into the JavaScript language to show you how to write beautiful, effective code. It has been updated to reflect the current state of Java¬Script and web browsers and includes brand-new material on features like class notation, arrow functions, iterators, async functions, template strings, and block scope. A host of new exercises have also been added to test your skills and keep you on track.

About the Contributors

Author

Marijn Haverbeke is a programming language enthusiast and polyglot. He's worked his way from trivial BASIC games on the Commodore, through a C++ phase, to the present where he mostly hacks on database systems and web APIs in dynamic languages. He recently won the JS1K—JavaScript demo in 1024 bytes—contest, and is the author of a wide range of open-source software.