This article needs a technical review. How you can help.
Clear the pending RegExp
input and flags.
Syntax
bool JS_ClearRegExpStatics(JSContext *cx, HandleObject obj);
Name | Type | Description |
---|---|---|
cx |
JSContext * |
The context. Requires request. In a |
obj |
JS::HandleObject |
A pointer to a global object. |
Description
JS_ClearRegExpStatics
clears the pending input string and flags of the built-in RegExp
object.
On successful, JS_ClearRegExpStatics
returns true
, otherwise returns false
.