On Tue, Dec 17, 2013 at 11:02 PM, Shijun He <[email protected]> wrote:
> > > > On Wed, Dec 18, 2013 at 11:28 AM, Alex Kocharin <[email protected]> wrote: > >> >> >> How can you migrate to ES6 if you didn't even migrate to ES5 first? >> >> > > Even IE5 (pre-ES3) can use string.prototype.repeat with simple shim. > > And with es6 shim, Map/Set SHOULD works on IE5, and all modules depend on > Map/Set (but not depend on complex features such as Proxy) also works. > I doubt it. https://github.com/paulmillr/es6-shim/blob/master/es6-shim.js#L30-L34 > > > So that's what I mean migration step by step. Some of your codes migrate > to ES6 API, but keep working on legacy browsers. It's very important for > real products. Or migration is totally impossible until 2023 if all pre-ES6 > browsers disappear it that time. > I estimate the new version of ECMAScript will be either 9 or 10 in 2023 ;) Rick
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

