Subj : Re: Calling new on objects (Spidermonkey) To : James Turner From : Brendan Eich Date : Tue May 27 2003 12:13 pm James Turner wrote: > I'm trying to get JS to call into a native function when I call 'new' > on an object, without success so far. I figure there has to be some > magic function I can define on the object (or preferably, in the class > the objects belong too) which will get invoked if present. You need to initialize JSClass.construct. /be .