|
|
|
a key value with the attributes listed in Table 3: Attributes of a Data Property Attribute Name Value Domain Description [[Value]] Any The value retrieved by a get access of the property. [[Writable]] Boolean If false , attempts by ECMAScript code to change the property's [[Value]] attribute using [[Set]] will not succeed. [[Enumerable]] Boolean If true , the property will be enumerated by a for-in enumeration (see ). Otherwise, the property is said to be non-enumerable. [[Configurable]] Boolean , attempts to delete the property, change the property to be an , or change its attributes (other than [[Value]], or changing [[Writable]] to false ) will fail. associates a key value with the attributes listed in . Table 4: Attributes of an Accessor Property Attribute Name Value Domain Description [[Get]] Object | If the value is an Object it must be a . The function's [[Call]] internal ) is called with an empty arguments list to retrieve the property value each time a get access of the property is performed. [[Set]] Object | If the value is an Object it must be a . The function's [[Call]] internal ) is called with an arguments list containing the assigned value as its sole argument each time a set access of the property is performed. The effect of a [[Enumerable]] Boolean If true , the property is to be enumerated by a for-in enumeration (see ). Otherwise, the property is said to be non-enumerable. [[Configurable]] Boolean If false , attempts to delete the property, change the property to be a change its attributes will fail. If the initial values of a property's attributes are not explicitly specified by this specification, the default value defined 90 |