JS_IsAssigning

Obsolete since JavaScript 1.8.5
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.

Determine whether script is executing assignment operation.

Syntax

JSBool
JS_IsAssigning(JSContext *cx);
Name Type Description

Description

JS_IsAssigning returns true if a script is executing and its current bytecode is a set (assignment) operation, even if there are native (no script) stack frames between the script and the caller to JS_IsAssigning.

See Also

Document Tags and Contributors

 Last updated by: kscarfone,