classes and enumerability

Jeremy Martin jmar777 at
Tue Dec 23 20:37:42 PST 2014

In all the discussions I've observed, the primary argument for
enumerability has been consistency with ES5 prototype conventions. I don't
think I've seen a single argument in favor, though, based on the actual
intrinsic merits of that behaviour.

So, do such arguments exist?
On Dec 23, 2014 11:26 PM, "Gary Guo" <nbdd0121 at> wrote:

> I would say enumerate through classes' or instances' properties are a
> strange use and should be discouraged. I would prefer nothing but instance
> properties to be enumerable. To me, it is illogical for methods to be
> enumerable.
> _______________________________________________
> es-discuss mailing list
> es-discuss at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list