I come from the traditional web developer background where I can by no means claim to really know anything about Javascript, however I am trying.
I currently have wh
Here's a great article on prototype.js's implementation of the typical OO structuring. This wouldn't be possible without the "new" operator.
http://prototypejs.org/learn/class-inheritance
I highly recommend reading the prototype.js source. jQuery is amazing, and highly popular, but some of the things that have been done in prototype just have no comparison** elsewhere, in particular their class structuring.
**Some people might argue that some of what prototype does shouldn't be found elsewhere - that's a different question. But for sheer understanding of what's possible with javascript, prototype is the way to go, IMHO.