This article needs a technical review. How you can help.

This article covers features introduced in SpiderMonkey 17

Retrieve a pointer to the JSRuntime of a specified object.


JSRuntime *
JS_GetObjectRuntime(JSObject *obj);
Name Type Description
obj JSObject * The object to query.


JS_GetObjectRuntime retrieves a pointer to the JSRuntime for a specified JSObject.

See Also

Document Tags and Contributors

 Contributors to this page: kscarfone, arai
 Last updated by: kscarfone,