javascript + constructors = confusion

2008-02-12 @ 10:21#

nice post from Joost Diepenmaat.

Javascript objects are simply bags of named properties that you can read and set. For most intents, javascript does not have classes. Functions in javascript are first-class objects. Methods in javascript are just properties that are functions.

code