JavaScript-1.5 Reference

JSPROP_INDEX Macro

Summary

Flag that indicates a property's name is actually an index number into an array.

Syntax

JSPROP_INDEX

Description

JSPROP_INDEX is a flag value that indicates a property's name will automatically be cast to an integer value to use as an index into an array of property values (elements).

Notes

Property flags cannot be changed at run time. Instead, you either pass a set of flags as an argument to JS_DefineProperty to create a single property with fixed flag values, or you set property flags in a JSPropertySpec struct which is then passed to the JS_DefineProperties function to create multiple properties on a single object.

See Also

Groups [ Macro ]
Documents [ LXR ID Search ]
Entries [ JSPROP_ENUMERATE | JSPROP_EXPORTED | JSPROP_PERMANENT | JSPROP_READONLY | JSPropertySpec | JS_DefineProperties | JS_DefineProperty ]

This page was generated by APIDOC