http://www.phpied.com/3-ways-to-defi...ascript-class/ Cita: You saw three (plus one) ways of creating objects in JavaScript. Remember that (despite the article's title) there's no such thing as a class in JavaScript.
Esto, no responde a tu pregunta, simplemente.. es un articulo, bastante corto y simple, para leer despues de haber entendido lo que comento
Alexis88