View http://www.jblotus.com/2013/01/13/common-javascript-gotchas/
Continuing on the subject of JavaScript being quirky, this article is a nice summation of many JavaScript properties that confuse developers.
- The Global Namespace
- Understanding “this”
- Know the difference between ECMAScript 3 and ECMAScript 5
- Understanding Async
- Simple Inheritance in JavaScript
- Forgetting to use var in for loops
There’s a lot of great info here that applies even if you’re doing ‘simple’ things while heavily relying on jQuery to do the heavy lifting. JavaScripts interestingness spans the entire spectrum.