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.


Obsolete since JSAPI 27
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

Get the currently enabled JSContext options.


JS_GetOptions(JSContext *cx);
Name Type Description
cx JSContext * The context from which to read options.


JS_GetOptions retrieves the option flags of a given JS context cx.

This function returns a uint32 value that is the logical OR of zero or more of the JSOPTION flags described in JS_SetOptions.

See Also

Document Tags and Contributors

 Contributors to this page: arai, fscholz, Jorend, Michelemostarda
 Last updated by: arai,