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" <[email protected]> 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 > [email protected] > https://mail.mozilla.org/listinfo/es-discuss > >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

