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

JS_IsRunning

Indicates whether or not a script or function is currently executing in a given context.

Syntax

bool
JS_IsRunning(JSContext *cx);
Name Type Description
cx JSContext * The context to query.

Description

JS_IsRunning determines if a script or function is currently executing in a specified JSContext, cx. If a script is executing, JS_IsRunning returns true. Otherwise it returns false.

See Also

Document Tags and Contributors

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