I would suggest reading all that Douglas Crockford has to say about JavaScript reading “Good Details” , writing as many programs as possible and running them through JSLint with “Good Parts” and rewriting until he stops complaining and reads jQuery source. It would also be nice to read Dmitry A. Soshnikos’s version of the ECMA-262 specification . (This is very specific and goes to the smallest detail, but also covers all possible aspects of the language)
It would be nice to mention that you do not need to follow Crockford's conventions on writing if you do not want to (although I would recommend writing strictly for ES5), but limiting yourself to them while you learn the language is definitely the way to go.
source share