Entry: JSPROP_ENUMERATE (Macro)
Summary: Public.Flag that indicates a property is visible to for and in loops.
Syntax:
JSPROP_ENUMERATE
Description:
JSPROP_ENUMERATE is a flag value that indicates a property belonging to a JS object is visible to for and in loops. JSPROP_ENUMERATE is used to set or clear the flags field in a JSPropertySpec structure so that a property can be made visible or invisible to loops.
Example:
The following code fragment illustrates how JSPROP_ENUMERATE can be set for a property structure before you call JS_DefineProperties:
JSPropertySpec MyProperty;
.
.
.
MyProperty.flags = MyProperty.flags | JSPROP_ENUMERATE;
See also:
|
|
|