Re: How to defineObject with name, proto and parent (spidermonkey 60)

msami <[email protected]> Wed, 21 Aug 2019 01:48:15 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.jseng
Message-ID <[email protected]>
> Create the object with JS_NewObject(cx, null), store it in a local
> JS::RootedObject variable, define each property on it, then define a
> property named "object1" on the global.
> 
> I don't know a more convenient way.
> 
> -j

Thanks, sir that worked perfectly.