Get the currently enabled JSContext options.


uint32 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.

MXR ID Search for JS_GetOptions

Document Tags and Contributors

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