Your Search Results


    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: fscholz, Jorend, Michelemostarda, arai
    Last updated by: arai,
    Hide Sidebar