Skip to content

Read more about Eloquent JavaScript: A Modern Introduction to Programming

Eloquent JavaScript: A Modern Introduction to Programming

(6 reviews)

Marijn Haverbeke

Copyright Year: 2014

ISBN 13: 9781593275846

Publisher: No Starch Press

Language: English

Formats Available

Conditions of Use

Attribution-NonCommercial Attribution-NonCommercial


Learn more about reviews.

Reviewed by Laurie Alfaro, Associate Professor, City Colleges of Chicago on 2/24/23

The book is divided into three parts, with each part building upon the concepts covered in the previous one. The first part focuses on the basics of JavaScript, including variables, data types, and control structures. The second part covers... read more

Reviewed by Christian James, Web Application Librarian, The Catholic University of America on 2/18/21

As an introduction to JavaScript, this book hits all the basics: variables, functions, arrays/objects, classes, etc. In addition, there are chapters on regular expressions, error handling, and Node JS. (The latter is curious, though, because it... read more

Reviewed by Anthony Marasco, Assistant Professor, University of Texas Rio Grande Valley on 11/19/20

Eloquent JavaScript provides a thorough walkthrough of the core aspects of JavaScript as a coding language. Divided into three sections, the book sets a goal for each section to give the reader an understanding of what material, skills, and... read more

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

Ancillary Material

  • No Starch Press
  • 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


    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.

    Contribute to this Page

    Suggest an edit to this book record