33

What's the best and most efficient book to learn JavaScript?

6
  • 2
    If depends on how you learn. Some learn best by reading examples, some want to know the theory up front while some just like to dive in and try stuff out. On that basis, I'd say the question (or at least the answers) are subjective. Commented Jul 16, 2009 at 19:34
  • 2
    why do people insist on having "the best" in their title? Commented Jul 16, 2009 at 20:14
  • 4
    Because we all deserve the best, Geo ;). To keep going with what Colin was saying, not only does how you learn matter, but your background and as well. There are some decent books that are good for designers who want to learn JavaScript, but those same books are atrocious for people with any programming background. Commented Jul 17, 2009 at 2:17
  • see duplicate: stackoverflow.com/questions/74884/good-javascript-books Commented Aug 26, 2009 at 20:34
  • best : Professional JavaScript for Web Developers, 3rd Edition Commented Feb 22, 2015 at 0:15

14 Answers 14

28

Take a look at JavaScript: The Definitive Guide.

Also take a look at David Flanagan's web site as well as Douglas Crockford's videos and his essays on JavaScript.

Sign up to request clarification or add additional context in comments.

5 Comments

I think it's a great reference book, but I give it a "meh" on teaching you the language.
It's not a book, but I found Crockford's essays a great help: crockford.com/javascript
I was always mystified by JavaScript (not that I am expert now) until I read Flanagan's book. I found Crockford's essays more useful than the "Good Parts" book.
FYI: There is a 6th edition of Javascript: The definitive guide.
The only book Crockford himself recommends is JavaScript: The Definitive Guide by David Flanagan on his website: crockford.com/javascript/javascript.html
16

I think I've read them all. Here's the dark sheep. This one came out of left field. I was surprised at how good it is.

JavaScript: The Missing Manual

alt text http://ecx.images-amazon.com/images/I/51cPJ2k%2BOGL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA240_SH20_OU01_.jpg

The other books are great. But for actually learning the language, I think this one wins hands down.

1 Comment

+1 looks good! Just bought it :)
16

JavaScript the good parts.

5 Comments

have the book, it doesn't offer a complete intro though, so if you see a "bad part" somewhere, you might not know what it does. Its about 1/10 the size of the definitive guide, and only covers the language, not any interaction with the browser. great supplemental book though. :D
My favorite JavaScript book, but for learning, go with "The Missing Manual" first.
i read The Good Parts as my very first javascript book, and it helped me keep good practices in mind when reading other books, so I would actually recommend this as a first (but not only) JS book
@Douglas are you self promoting your book? :)
@GordonGustafson, The only book Crockford himself recommends is JavaScript: The Definitive Guide by David Flanagan on his website: crockford.com/javascript/javascript.html
4

after the basics, every Javascript developer must read this:
Douglas Crockford: JavaScript: The Good Parts

Comments

3

ppk on JavaScript was really great. His website is also filled with tons of useful information including lots on browser incompatibilities.

alt text

1 Comment

This book got me started. I thought it wasn't overly technical or dry and gave some practical advice.
3

After you've tried out some of the books, read them through, make sure you try many things and ideas out on your own. The only way to really learn a language is to write programs in it. After you have a good understanding, answer some questions on SO. This can really help you learn stuff and have fun talking code with other people. An SO technique I use is to find a user with 20k + rep who has a lot of posts in the javascript tag, then look at some of their most upvoted javascript answers. Good luck! :D

Comments

2

i would recommend "Head First JavaScript" it is nice to read, with good illustrations. I love the books from this publisher.

Comments

2

Object-Oriented JavaScript

Comments

2

I'd recommend Pro JavaScript Techniques: The Ultimate JavaScript book for the modern Web Developer by By John Resig, the author of jQuery framework.

Comments

1

JavaScript: The Good Parts

http://www.amazon.com/JavaScript-Good-Parts-Douglas-Crockford/dp/0596517742

Comments

1

Learning Javascript: http://www.amazon.com/Learning-JavaScript-Shelley-Powers/dp/0596527462/ref=sr_1_16?ie=UTF8&s=books&qid=1247773699&sr=8-16

Comments

0

I'm a believer in Sinan's recommendation of JavaScript: The Definitive Guide for a good reference type book.

Previous SO Question

Another previous SO Question

Comments

0

Sams TEach yourself JavaScript Fourth Edition. Buy it really CHEAP here.

Comments

0

I like this one too much "OReilly.JavaScript.The.Definitive.Guide.5th.Edition.Aug.2006"

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.