Subj : Creating constructors To : netscape.public.mozilla.jseng From : Kumar Iyengar Date : Fri Jun 25 2004 08:05 pm I have created an object, say TestJS for use within JavaScript. In the JavaScript i would like users to create this object, for e.g. var x = new TestJS(); However i am not sure how to create the constructor. I tried setting the class, testjs_class.construct to a JSNative function, but that did not work. Appreciate any help, --kumar .