> On Apr 21, 2017, at 4:42 AM, Michael J. Ryan <[email protected]
> <mailto:[email protected]>> wrote:
>
> I always assumed it was an implementation detail historically... stack is
> also not enumerated, though message is more surprising... I tend to remember
> for logging/server purposes in particular, and call it out in my clone
> library, as I've been hit by it many times.
>
ES1 (1997) Clause 15:
"Every other property described in this section has the attribute { DontEnum }
(and no others) unless otherwise specified."
Error.prototype and its properties were added to clause 15 in ES3.
Allen _______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss