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

JS_GetOptions

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.

Syntax

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

Description

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,