Subj : JSClass construct member versus JS_InitClass constructor parameter To : netscape.public.mozilla.jseng From : Thomas Sondergaard Date : Thu Jul 28 2005 05:00 pm I've noticed that JSClass has a 'construct' member of type JSNative. JS_InitClass has a parameter 'constructor'. I can't seem to figure out when the 'construct' function is invoked. the 'constructor' parameter passed to JS_InitClass seems to be called when an instance of the class is created. Can someone tell me in plain english (or danish) what the intention is with JSClass.construct? regards, Thomas .