JavaScript Garden
Excellent write-up! I've learned most of these things the hard way :/  I'm filing this away to recommend to any developers who are setting out to use Javascript extensively for the first time.<p>One quibble: In the "common pitfalls" section regarding the "this" object, they say that locally-defined functions within other functions <i>never</i> have any practical use. I might disagree: with a little coaxing, you can convince locally variables inside the constructor (both functions and other variables) to serve as private properties of an object; this is the only technique I know that allows for private properties.<p>(I haven't actually done this in code that has been maintained/used anywhere, I just did it as an experiment and filed it away as a "that's cool" for future reference)<p>Edit: Here is an example of what I'm talking about: <a href="https://gist.github.com/866103" rel="nofollow">https://gist.github.com/866103</a>