Re: Object creation in SpiderMonkey 45

Mihai Dobrescu <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jseng
Message-ID <[email protected]>
On Thursday, May 5, 2016 at 9:25:23 PM UTC+3, Boris Zbarsky wrote:
> On 5/5/16 2:11 PM, Mihai Dobrescu wrote:
> > If I understand well, should I replace the call to JS_NewObject by JS_NewObjectWithGivenProto?
> 
> Yes.
> 
> -Boris

Thank you, Boris.

Now, what could be done with the JS_NewObject as long as it couldn't do this job? What is its purpose?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.