| ||||||
SummaryCreates a new object and associates a script with it. | ||||||
SyntaxJSObject * JS_NewScriptObject(JSContext *cx, JSScript *script); | ||||||
DescriptionJS_NewScriptObject creates a new object, assigns script to the object, and sets the script's object to the newly created object. Object creation occurs in a specified JSContext , cx .
On success,
| ||||||
See Also
|