JSFUN_GLOBAL_PARENT |
Macro |
Deprecated |
|
Summary
Flag that indicates a call to a function nominally associated with an object is called with the global object as its scope chain, rather than with the parent of the function.
|
Syntax
JSFUN_GLOBAL_PARENT
|
Description
This macro is deprecated. Instead of using it, use JS_CloneFunctionObject . JSFUN_GLOBAL_PARENT is a flag that indicates a call to a function nominally associated with an object is called with the global object as its scope chain, rather than with the parent of the function. This permits the function to operate on free variables in the larger scope when they are found through prototype lookups.
|
Notes
This macro exists only for backward compatibility with existing applications. Its
use is deprecated. Future versions of the JavaScript engine may not support or
recognize this macro.
|
See Also
|