A property has a name and a value. A property name may be any string, including the empty string, but no object may have two properties with the same name. The value may be any JavaScript value, or (in ECMAScript 5) it may be a getter or a setter function (or both). In addition to its name and value, each property has associated values that we’ll call property attributes: writable attribute, enumerable attribute and configurable attribute
也就是说,对象的属性就是property,例如:
但是ES5中额外提供了一些东西去描述对象属性(property)的属性(attribute),即是 只读的(writable),可枚举的(enumerable),和可配置的(configurable)。
这些attributes的定义方式如:
另外,还有Object attributes:
(以上定义来自犀牛书)