Please note, this is a STATIC archive of website from 03 Nov 2016, does not collect or store any user information, there is no "phishing" involved.


This article needs a technical review. How you can help.

Enumerate standard class in an object.


JS_EnumerateStandardClasses(JSContext *cx, JS::HandleObject obj);
Name Type Description
cx JSContext * Pointer to the executable script context for which to initialize JS function and object classes. Requires request. In a JS_THREADSAFE build, the caller must be in a request on this JSContext.
obj JS::HandleObject An object to enumerate standard classes.


The global object's class's enumerate op should call JS_EnumerateStandardClasses(cx, obj), to define eagerly during loops any classes not yet resolved lazily.

See Also

Document Tags and Contributors

 Contributors to this page: kscarfone, arai
 Last updated by: kscarfone,