Default values for specified properties

Michael J. Ryan tracker1 at gmail.com
Fri Apr 21 11:11:26 UTC 2017


I've always felt that made cloning and serializing Error based instances
particularly fun.

-- 
Michael J. Ryan - tracker1 at gmail.com - http://tracker1.info

Please excuse grammar errors and typos, as this message was sent from my
phone.

On Apr 20, 2017 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/20170421/dfca0a3b/attachment.html>


More information about the es-discuss mailing list