Editor's top JavaScript books
2Eloquent JavaScript
Marijn Haverbeke · Free online · 458 pages · ~11 hrs to read
The classic JS book — dense, elegant, and free. Chapter exercises are genuinely difficult. Read for understanding, not just syntax.
JavaScript: The Good Parts
Douglas Crockford · O'Reilly
Short but essential. Crockford distills what's actually good about JS and what to avoid. Better read after you know the basics.
JavaScript Books for Beginners
1javascript.info
Ilya Kantor
Reads like a textbook but stays current. Covers modern JS (ES2020+) thoroughly with interactive examples.
Intermediate & Advanced JavaScript Books
8Eloquent JavaScript
Marijn Haverbeke · Free online · 458 pages · ~11 hrs to read
The classic JS book — dense, elegant, and free. Chapter exercises are genuinely difficult. Read for understanding, not just syntax.
Eloquent JavaScript, 3rd Edition
Marijn Haverbeke · No Starch Press · 474 pages · ~12 hrs to read
The print edition of the classic — same rigorous content as the free version, with exercises that genuinely build understanding of closures, prototypes, and asynchronous code.
JavaScript: The Good Parts
Douglas Crockford · O'Reilly
Short but essential. Crockford distills what's actually good about JS and what to avoid. Better read after you know the basics.
You Don't Know JS (series)
Kyle Simpson · O'Reilly · 211 pages · ~5 hrs to read
The deepest dive into JavaScript's core mechanisms: scope, closures, this, prototypes, async. 6 books — read after you can build things.
JavaScript: The Definitive Guide, 7th Edition
David Flanagan · O'Reilly · 707 pages · ~18 hrs to read
The most comprehensive single-volume reference. Covers ES2020. Good to own as a reference.
Learning JavaScript Design Patterns
Addy Osmani · O'Reilly · 247 pages · ~6 hrs to read
Covers design patterns — module, observer, factory, MVC — applied to JavaScript. Helps you write maintainable, scalable code once you know the language basics.
Secrets of the JavaScript Ninja, 2nd Edition
John Resig · Manning · 375 pages · ~9 hrs to read
Written by the creator of jQuery — covers functions, closures, generators, promises, and DOM manipulation at a level most courses skip.
JavaScript Patterns
Stoyan Stefanov · O'Reilly
Practical catalog of patterns for well-structured JavaScript: namespace, module, proxy, facade, and more. Reference for intermediate developers building larger applications.
JavaScript resources