Maybe. Though there would still be issues with implementations not aligning, like Ember which does use defineProperty to make them non-enumerable and doesn't pave existing methods, as well as issues with scripts that support pre-ES5 environments that don't want enumerable inconsistency.
JDD On Tue, Sep 30, 2014 at 5:15 PM, Boris Zbarsky <[email protected]> wrote: > On 9/30/14, 8:12 PM, John-David Dalton wrote: > >> Extending native prototypes is a JavaScript "thing" and something that >> will most likely continue continue. >> > > Note that if people were extending in nice ways, using defineProperty and > making their props non-enumerable instead of just doing a [[Set]], that > would significantly reduce issues like this... > > -Boris > > _______________________________________________ > 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

