AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Entry:     JSPROP_READONLY (Macro)
Summary:     Flag that indicates a property is read only.
Syntax:
JSPROP_READONLY

Description:
JSPROP_READONLY is a flag value that indicates that the value for a property belonging to a JS object cannot be set at run time. For JavaScript 1.2 and lower, it is an error to attempt to assign a value to a property marked with the JSPROP_READONLY flag. In JavaScript 1.3 and ECMA-Script, attempts to set a value on a read-only property are ignored. You can, however, always check the flags fields to determine if a property is read only.


See also:
JSPROP_ENUMERATE
JSPROP_EXPORTED
JSPROP_INDEX
JSPROP_PERMANENT
JSPropertySpec
JS_DefineProperties
JS_DefineProperty

[sh-index] Back to list of manuals