Skip to content
The second edition of Eloquent JavaScript
JavaScript HTML TeX CSS Makefile Shell
Latest commit 231ebed May 12, 2016 @MunGell MunGell committed with Correct Russian language link
"Русские" - group of Russians, Russian people
"Русский" - Russian language, adj. Russian
Failed to load latest commit information.
bin Fix link to zip in solution of exercise 20.4 Oct 19, 2015
code Add additional test in code for exercise 4.1 Jan 7, 2016
epub Fix a few epub issues Nov 12, 2014
html Correct Russian language link May 13, 2016
img Fix missing + in hex number regexp in chapter 9 Jun 25, 2015
nostarch Use a narrower arrow character in No Starch output Sep 17, 2014
pdf Add a book_mobile.pdf build target that builds a smaller, margin-less… Jan 23, 2015
.gitignore Ignore book_mobile files in .gitignore Feb 9, 2015
00_intro.txt Integrate proofreading changes for chapter 0 Feb 9, 2015
01_values.txt Integrate proofreading edits for Chapter 1 Feb 12, 2015
02_program_structure.txt Change variable name in name prompt example Sep 7, 2015
03_functions.txt Integrate proofreading for Chapter 5 Feb 17, 2015
04_data.txt Missing semicolon Jan 7, 2016
05_higher_order.txt Add note about console.log possibly not working as standalone function Sep 7, 2015
06_object.txt Delete unnecessary semicolon Oct 19, 2015
07_elife.txt Rename act method parameter in Chapter 7 Sep 7, 2015
08_error.txt Integrate proofreading for Chapter 8 Feb 18, 2015
09_regexp.txt Fix misinformation about being able to omit the number before the comma Mar 3, 2016
10_modules.txt Integrate proofreading for Chapter 10 Feb 18, 2015
11_language.txt Fix parentheses in Egg example in Chapter 11 Mar 1, 2015
12_browser.txt Fix claim that U in URL stands for Universal, add erratum Sep 11, 2015
13_dom.txt Integrate proofreading for Chapter 13 Feb 20, 2015
14_event.txt Integrate proofreading for Chapter 14 Feb 20, 2015
15_game.txt Integrate proofreading for Chapter 15 Feb 20, 2015
16_canvas.txt Fix left/right confusion in Chapter 16 Feb 21, 2015
17_http.txt Fix a typo in Chapter 17 Nov 5, 2015
18_forms.txt remove 'checked' attribute from file input Jul 30, 2015
19_paint.txt Slightly simplify some code in Chapter 19 Feb 27, 2015
20_node.txt Be explicit about converting a chunk to a string in Chapter 20 Mar 3, 2015
21_skillsharing.txt Make sure instantiateNode always returns a value in Chapter 21 Mar 3, 2015
Makefile Fix link to zip in solution of exercise 20.4 Oct 19, 2015 Add note about epub to README Sep 15, 2014
asciidoc_epub.conf Fix broken interactive/book inline macros in asciidoc config Oct 27, 2014
asciidoc_html.conf Use a post-processing pass to add bookmarks Apr 21, 2015
asciidoc_nostarch.conf Fix broken interactive/book inline macros in asciidoc config Oct 27, 2014
asciidoc_pdf.conf Improve epub generation Sep 4, 2014
package.json add jszip dependency Mar 16, 2015

Eloquent JavaScript

These are the sources used to build the second edition of Eloquent JavaScript (

Feedback welcome, in the form of issues and pull requests.


npm install --production
apt-get install asciidoc inkscape
make html

For OSX, you can use port or brew to install the asciidoc package.

To build the PDF file:

apt-get install texlive texlive-xetex texlive-fonts-extra
make book.pdf

To build the ePub book:

make book.epub
Something went wrong with that request. Please try again.