Subj : Re: SpiderMonkey: implement property of type object with get/set To : netscape.public.mozilla.jseng From : Benjamin Smedberg Date : Fri Sep 26 2003 03:51 pm Yuraukar wrote: > would work. However, my problem is how to return the object from > the property get function of class Customer. you need to create a new JSObject (using JS_NewObject) and set it up as a wrapper of your existing C++ object. You then return this object. --BDS .