Written by Marijn Haverbeke.
Licensed under a Creative Commons attribution-noncommercial license. All code in this book may also be considered licensed under an MIT license.
Illustrations by various artists: Cover by Wasif Hyder. Computer (introduction) and unicycle people (Chapter 21) by Max Xiantu. Sea of bits (Chapter 1) and weresquirrel (Chapter 4) by Margarita Martínez and José Menor. Octopuses (Chapter 2 and 4) by Jim Tierney. Object with on/off switch (Chapter 6) by Dyle MacGregor. Regular expression diagrams in Chapter 9 generated with regexper.com by Jeff Avallone. Game concept for Chapter 15 by Thomas Palef. Pixel art in Chapter 16 by Antonio Perdomo Pastor.
The second edition was made possible by 454 financial backers, with significant contributions from Mozilla, Hack
Reactor, and Ghostery.
(Part 1: Language)Values, Types, and Operators
Data Structures: Objects and Arrays
The Secret Life of Objects
Project: Electronic Life
Bugs and Error Handling
Project: A Programming Language
The Document Object Model
Project: A Platform Game
Drawing on Canvas
Forms and Form Fields
Project: A Paint Program
(Part 3: Node)Node.js
Project: Skill-Sharing Website
Code sandbox and exercise solutions
Errata for the paper book
This book as a single PDF file (& small version for mobile)
This book as an EPUB file
This book as a MOBI (Kindle) file
The first edition of the book