I doubt this will be possible in a backwards compatible manner. With ES6, we missed the opportunity to take more of a desugaring approach for new features. As a consequence, there now is a fair amount of micro variation between seemingly related features that is only describable in terms of lower-level spec language.
/Andreas On 22 June 2015 at 06:23, Brendan Eich <[email protected]> wrote: > Sure, we'd want that. And sweet.js can handle a lot (it handled classes, > destructuring, and other ES6 features before they were implemented in > popular engines). This may take a while. Best way to ensure this outcome: > more people learning, using, and helping improve sweet.js. > > /be > > _______________________________________________ > 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

