Eloquent JavaScript

A Modern Introduction to Programming

by Marijn Haverbeke

Get the book

Eloquent JavaScript is a book providing an introduction to the JavaScript programming language and programming in general.

A concise and balanced mix of principles and pragmatics. I loved the tutorial-style game-like program development. This book rekindled my earliest joys of programming. Plus, JavaScript!
Brendan Eich, the man who gave us JavaScript

The book exists in two forms. It was originally written and published in digital form, which includes interactive examples and a mechanism for playing with all the example code. This version is released under an open license.

I have published a revised version of the book on paper. The structure of this version remained largely the same, but the whole text has been thoroughly edited and updated. You can order from Amazon here. There is still an interactive coding environment for this version, as a separate page. Errata are here.

The digital version is available in the following formats:

The following translations are available: