MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See for all notifications.

Your Search Results


    Obsolete since JSAPI 12
    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.

    Lock the JS run-time environment.


    void JS_Lock(JSRuntime *rt);
    Name Type Description
    rt JSRuntime * Pointer to the runtime to lock.


    JS_Lock is a deprecated API; don't use it.

    See also

    Document Tags and Contributors

    Contributors to this page: fscholz, ethertank, Nickolay, MMondor, Tservo, tschneidereit, Dria, Jorend
    Last updated by: fscholz,