Default values for specified properties
Allen Wirfs-Brock
allen at wirfs-brock.com
Fri Apr 21 04:52:12 UTC 2017
https://tc39.github.io/ecma262/#sec-ecmascript-standard-built-in-objects
"Every other data property described in clauses 18 through 26 and in Annex B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified."
On Apr 20, 2017, 9:40 PM, at 9:40 PM, "T.J. Crowder" <tj.crowder at farsightsoftware.com> wrote:
>Fairly basic specification comprehension question: Is it correct that
>the
>`message` property of `Error.prototype` is specified as non-enumerable,
>because [its definition][1] doesn't explicitly say otherwise and so the
>default properties listed in Table 4 of [Property Attributes][2] apply?
>
>-- T.J. Crowder
>
>[1]: https://tc39.github.io/ecma262/#sec-error.prototype.message
>[2]: https://tc39.github.io/ecma262/#sec-property-attributes
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>es-discuss mailing list
>es-discuss at mozilla.org
>https://mail.mozilla.org/listinfo/es-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170420/ed47c2c9/attachment.html>
More information about the es-discuss
mailing list