
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet or computer – no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera, scan the code below and download the Kindle app.
Effective JavaScript: 68 Specific Ways to Harness the Power of JavaScript (Effective Software Development Series) Paperback – 5 December 2012
Save Extra with 4 offers
7 days Replacement
Replacement Reason | Replacement Period | Replacement Policy |
---|---|---|
Physical Damage, Defective, Wrong and Missing Item | 7 days from delivery | Replacement |
Replacement Instructions

Read full returns policy
Purchase options and add-ons
“It’s uncommon to have a programming language wonk who can speak in such comfortable and friendly language as David does. His walk through the syntax and semantics of JavaScript is both charming and hugely insightful; reminders of gotchas complement realistic use cases, paced at a comfortable curve. You’ll find when you finish the book that you’ve gained a strong and comprehensive sense of mastery.”
―Paul Irish, developer advocate, Google Chrome
“This is not a book for those looking for shortcuts; rather it is hard-won experience distilled into a guided tour. It’s one of the few books on JS that I’ll recommend without hesitation.”
―Alex Russell, TC39 member, software engineer, Google
In order to truly master JavaScript, you need to learn how to work effectively with the language’s flexible, expressive features and how to avoid its pitfalls. No matter how long you’ve been writing JavaScript code, Effective JavaScript will help deepen your understanding of this powerful language, so you can build more predictable, reliable, and maintainable programs.
Author David Herman, with his years of experience on Ecma’s JavaScript standardization committee, illuminates the language’s inner workings as never before―helping you take full advantage of JavaScript’s expressiveness. Reflecting the latest versions of the JavaScript standard, the book offers well-proven techniques and best practices you’ll rely on for years to come.
Effective JavaScript is organized around 68 proven approaches for writing better JavaScript, backed by concrete examples. You’ll learn how to choose the right programming style for each project, manage unanticipated problems, and work more successfully with every facet of JavaScript programming from data structures to concurrency. Key features include
- Better ways to use prototype-based object-oriented programming
- Subtleties and solutions for working with arrays and dictionary objects
- Precise and practical explanations of JavaScript’s functions and variable scoping semantics
- Useful JavaScript programming patterns and idioms, such as options objects and method chaining
- In-depth guidance on using JavaScript’s unique “run-to-completion” approach to concurrency
- Print length240 pages
- LanguageEnglish
- PublisherAddison-Wesley
- Publication date5 December 2012
- Dimensions17.53 x 1.02 x 22.86 cm
- ISBN-100321812182
- ISBN-13978-0321812186
Frequently bought together

Customers who viewed this item also viewed
Product description
Review
“Living up to the expectation of an Effective Software Development Series programming book, Effective JavaScript by Dave Herman is a must-read for anyone who wants to do serious JavaScript programming. The book provides detailed explanations of the inner workings of JavaScript, which helps readers take better advantage of the language.”
―Erik Arvidsson, senior software engineer
“Before reading Effective JavaScript, I thought it would be just another book on how to write better JavaScript. But this book delivers that and so much more―it gives you a deep understanding of the language. And this is crucial. Without that understanding you’ll know absolutely nothing whatever about the language itself. You’ll only know how other programmers write their code.
“Read this book if you want to become a really good JavaScript developer. I, for one, wish I had it when I first started writing JavaScript.”
―Anton Kovalyov, developer of JSHint
“If you’re looking for a book that gives you formal but highly readable insights into the JavaScript language, look no further. Intermediate JavaScript developers will find a treasure trove of knowledge inside, and even highly skilled JavaScripters are almost guaranteed to learn a thing or ten. For experienced practitioners of other languages looking to dive headfirst into JavaScript, this book is a mustread for quickly getting up to speed. No matter what your background, though, author Dave Herman does a fantastic job of exploring JavaScript―its beautiful parts, its warts, and everything in between.”
―Rebecca Murphey, senior JavaScript developer, Bocoup
“Effective JavaScript is essential reading for anyone who understands that JavaScript is no mere toy and wants to fully grasp the power it has to offer. Dave Herman brings users a deep, studied, and practical understanding of the language, guiding them through example after example to help them come to the same conclusions he has. This is not a book for those looking for shortcuts; rather, it is hard-won experience distilled into a guided tour. It’s one of the few books on JavaScript that I’ll recommend without hesitation.”
―Alex Russell, TC39 member, software engineer, Google
“Rarely does anyone have the opportunity to study alongside a master in their craft. This book is just that―the JavaScript equivalent of a time-traveling philosopher visiting fifth century BC to study with Plato.”
―Rick Waldron, JavaScript evangelist, Bocoup
About the Author
David Herman is a principal researcher at Mozilla Research. He holds a BA in computer science from Grinnell College, and an MS and PhD in computer science from Northeastern University. David serves on Ecma TC39, the committee responsible for the standardization of JavaScript.
Product details
- Publisher : Addison-Wesley; 1st edition (5 December 2012)
- Language : English
- Paperback : 240 pages
- ISBN-10 : 0321812182
- ISBN-13 : 978-0321812186
- Item Weight : 454 g
- Dimensions : 17.53 x 1.02 x 22.86 cm
- Best Sellers Rank: #737,085 in Books (See Top 100 in Books)
- #278 in Web Development & Design
- #1,562 in Software Design & Engineering
- #1,591 in Software Architecture
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
Top reviews from India
There was a problem filtering reviews. Please reload the page.
- Reviewed in India on 18 July 2019Verified PurchaseDoes not matter if you are newbie to JS or experienced programmer, this book is worth reading. It collectively has all the good parts and the pitfalls of the language. Must read for a JS programmer
- Reviewed in India on 17 September 2014Verified PurchaseThis is advance JavaScript book... First do some programming in JavaScript than go for it.
- Reviewed in India on 22 December 2019Verified PurchaseGood one, even though it is ES5, especially around concurrency chapter and functions and other aspects. Coming from strong java background to learn in regard to javaScript has been
- Reviewed in India on 8 January 2018Verified PurchaseCovered a lot of deep things. Nice book :)
Top reviews from other countries
- specificityyReviewed in the United Kingdom on 16 July 2017
5.0 out of 5 stars Great book for turning you into an effective JS developer
Verified PurchaseNice and easy read, I loved this book. If you're beginning with JavaScript, you'll find the concepts will really help you master the language, but even if you're experienced, there are most likely stuff here you didn't know before, and in some parts you'll find yourself saying: "I knew that worked like that, but didn't know why!". This book is a must read for every JS developer out there.
- gcrReviewed in the United States on 21 October 2013
5.0 out of 5 stars JavaScript's "Missing Manual"
Verified PurchaseLooking for resources to help you maximize your learnings and minimize your
time use is often fruitless. Publishing deadlines cut books short, real life
gets in the author's way, and personal preference, well there isn't much you
can do about that. In many ways, this book is an oddity.
The voice is at ease, nothing is crammed down your throat and it doesn't feel
like he was slamming caffeinated beverages just to get it done. It is refreshing
being the recipient of an exposition that not only teaches you, but questions
you, and sets expectations of you and what you should learn. The book is broken
up into 68 different lessons, and it ends up being a perfect approach. It gives
you time to pick it up when you are free and dig as deep as you want. It also
is very humble, the sections make the point and pose the advice, and if you
don't grok it then you had better revisit it. Again, it makes for peaceful and
pleasant reading, without sacrificing the seriousness or even urgency of the
valuable points contained within.
Books like this are few and far between, at least when it comes to industrial
concerns. This book is a gem for the JavaScript technology, because it poses
the technology for thoughtful grownups instead of obsessing over the 24h
tricks, recipes of the week, and "one way to do it right", it will be a timeless
contribution that will always be valued.
Just like the author said, it is not for new learners of the language, it is for
experiences programmers who have gotten through the first 80% and now want to
master the remaining 80%.
On the Kindle it looked great, text, code, and pictures.
In my eyes, this is the missing manual that should have gone out with
ECMA-262. 5/5
-
FukeiReviewed in France on 2 June 2014
4.0 out of 5 stars Une saine lecture
Verified PurchaseCet ouvrage s'adresse à un public qui connaît déjà javascript mais qui ne sait pas toujours "pourquoi là ça marche et pourquoi là ça marche pas" et qui souhaite approfondir sa connaissance du langage.
Il lève le voile de manière très compréhensible sur les bizarreries, pardon, les particularités, de ce langage qui, quotidiennement, nous amènent à nous tirer une balle dans le pied. Les conversions implicites, les portées de variables, les méthodes fréquemment utilisées mais non-standard... ce genre de blagues. Les explications sont étayées d'exemples nombreux, d'idiomes salvateurs et elles vous permettront éventuellement de clouer le bec au grincheux qui trouve que jshint est un dictateur obscurantiste.
Comparé à "Secrets of the javascript ninja" que j'ai feuilleté, ce livre me semble moins pointu mais plus accessible et finalement plus utile au quotidien. Il n'aborde ni jQuery, ni aucun autre framework "récent", par contre il traite d'ecmascript 5.
La mise en page est agréable à lire, les exemples utilisent la coloration syntaxique avec les "choses à retenir" en fin de chapitre. Si je devais formuler un reproche, c'est que face à la profusion d'exemples, on se dit parfois "tl;dr, je lis juste la liste à retenir".
- Dietmar KönigReviewed in Germany on 3 February 2014
5.0 out of 5 stars Good Value for Money
Verified PurchaseIf you have come from other programming languages to Javascript, then this book is for you. In a very concise manner, "Effective JavaScript" explains the special JavaScript paradigma, shows you how to do things "the JavaScript Way" and tells you about the pitfalls on the way.
Although coders relatively fresh to JavaScript will gain most from the book, I would also recommend it for more seasoned developers who might still learn aspects of the language they didn't so far know, or re-learn about pitfalls once known but hence forgotten.
All-in-all a typical book for the "Effective ..." range.
-
Igor T. GhisiReviewed in Brazil on 26 July 2014
5.0 out of 5 stars Direto ao ponto
Verified PurchaseO livro aborda boas práticas de programação em JavaScript, cobrindo as nuances em relação a outras linguagens. O capítulo sobre Concurrency é obrigatório para qualquer um que queira implementar código de forma mais profissional. Também oferece uma abordagem bastante pragmática em relação a orientação a objetos, que mostra importantes particularidades nesta linguagem.