| ||||||||||||||||||||||||
SummaryCompiles and executes a script. | ||||||||||||||||||||||||
SyntaxJSBool JS_EvaluateScript(JSContext *cx, JSObject *obj, const char *bytes, uintN length, const char *filename, uintN lineno, jsval *rval);
| ||||||||||||||||||||||||
DescriptionJS_EvaluateScript compiles and executes a script associated with a JS object, obj . On successful completion, rval is a pointer to a variable that holds the value from the last executed expression statement processed in the script.
If a script compiles and executes successfully,
| ||||||||||||||||||||||||
See Also
|