Re: Object creation in SpiderMonkey 45
Boris Zbarsky <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.jseng |
|---|---|
| Message-ID | <[email protected]> |
On 5/5/16 2:58 PM, Mihai Dobrescu wrote: > Now, what could be done with the JS_NewObject as long as it couldn't do this job? What is its purpose? It's a slightly more convenient API for JS_NewObjectWithGivenProto(cx, clasp, JS_GetObjectPrototype(cx)). -Boris