| |||||||||
SummaryInitializes general JS function and object classes, and the built-in object classes used in most scripts. | |||||||||
SyntaxJSBool JS_InitStandardClasses(JSContext *cx, JSObject *obj);
| |||||||||
DescriptionJS_InitStandardClasses initializes general JS function and object classes, and the built-in object classes used in most scripts. The appropriate constructors for these objects are created in the scope defined for obj. Always call JS_InitStandardClasses before executing scripts that make use of JS objects, functions, and built-in objects.
As a side effect,
Finally,
| |||||||||
See Also
|