Entry: JS_GetScopeChain (Function)
Summary: Retrieves the scope chain for a given executable script context.
Syntax:
JSObject * JS_GetScopeChain(JSContext *cx);
Description:
JS_GetScopeChain retrieves the scope chain for the currently executing (or "active") script or function in a given context, cx. The scope chain provides a way for JavaScript to resolve unqualified property and variable references. The scope chain can store reference qualifications, so that future lookups are faster.
See also:
|
|
|