Library Home


Eloquent JavaScript: A Modern Introduction to Programming

(2 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 Mary Lebens, Instructor, Anoka Technical College on 5/22/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/21/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

  • Values, Types, and Operators
  • Program Structure
  • Functions
  • Data Structures: Objects and Arrays
  • Higher-order Functions
  • The Secret Life of Objects
  • Project: Electronic Life
  • Bugs and Error Handling
  • Regular Expressions
  • Modules
  • Project: A Programming Language

Part 2: Browser

  • JavaScript and the Browser
  • The Document Object Model
  • Handling Events
  • Project: A Platform Game
  • Drawing on Canvas
  • HTTP
  • Forms and Form Fields
  • Project: A Paint Program

Part 3: Node

  • Node.js
  • Project: Skill-Sharing Website

About the Book

This book contains roughly three parts. The first 11 chapters discussthe JavaScript language itself. The next eight chapters are about webbrowsers and the way JavaScript is used to program them. Finally,two chapters are devoted to Node.js, another environment to programJavaScript in.Throughout the book, there are five project chapters, which describelarger example programs to give you a taste of real programming. Inorder of appearance, we will work through building an artificial life simulation,a programming language, a platform game, a paint program,and a dynamic website.

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.