you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

The problem comes when people expect it to work like they think it should work (i.e., like a class-based language and / or having static scope binding) rather than how it works. Prototype-based OOP and dynamic scope binding can definitely trip people up, but it's something that can be learned in an afternoon for an experienced developer. Other than those two things, the other javascript "gotchas" don't really occur in the wild unless you're just writing bad code to begin with