Sei sulla pagina 1di 3

4/6/2015

EloquentJavaScript

Eloquent JavaScript
seco n d edit io n

ThisisabookaboutJavaScript,programming,andthewondersofthedigital.
Youcanreaditonlinehere,orgetyourownpaperbackcopyofthebook.

WrittenbyMarijnHaverbeke.
LicensedunderaCreativeCommonsattributionnoncommerciallicense.All
codeinthisbookmayalsobeconsideredlicensedunderanMITlicense.
http://eloquentjavascript.net/

1/3

4/6/2015

EloquentJavaScript

Illustrationsbyvariousartists:CoverbyWasifHyder.Computer(introduction)andunicyclepeople
(Chapter21)byMaxXiantu.Seaofbits(Chapter1)andweresquirrel(Chapter4)byMargarita
MartnezandJosMenor.Octopuses(Chapter2and4)byJimTierney.Objectwithon/offswitch
(Chapter6)byDyleMacGregor.RegularexpressiondiagramsinChapter9generatedwith
regexper.combyJeffAvallone.GameconceptforChapter15byThomasPalef.PixelartinChapter
16byAntonioPerdomoPastor.

Thesecondeditionwasmadepossibleby454financialbackers,with
significantcontributionsfrom
,
,and
.

Contents
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.

Introduction
Values,Types,andOperators
ProgramStructure
Functions
DataStructures:ObjectsandArrays
HigherorderFunctions
TheSecretLifeofObjects
Project:ElectronicLife
BugsandErrorHandling
RegularExpressions
Modules
Project:AProgrammingLanguage
JavaScriptandtheBrowser
TheDocumentObjectModel
HandlingEvents
Project:APlatformGame
DrawingonCanvas
HTTP
FormsandFormFields
Project:APaintProgram
Node.js
Project:SkillSharingWebsite

http://eloquentjavascript.net/

( P a rt1 : L a n g u a g e )

( P a rt2 : B ro ws e r)

( P a rt3 : N o de )

2/3

4/6/2015

EloquentJavaScript

Other pages
ApaperversionofEloquentJavaScript,includingabonuschapter,isbeing
broughtoutbyNoStarchPress.Theyalsosellanebookversionmorepolished
thanthefileslinkedbelow.
Codesandboxandexercisesolutions
Errataforthepaperbook
ThisbookasasinglePDFfile(&smallversionformobile)
ThisbookasanEPUBfile
Thefirsteditionofthebook

http://eloquentjavascript.net/

3/3