Mark S. Miller (2014-08-07T16:06:48.000Z)
domenic at domenicdenicola.com (2014-08-15T22:49:49.404Z)
On Aug 7, 2014 8:52 AM, "Alex Kocharin" <alex at kocharin.ru> wrote: > > > So strict mode is mandatory in classes and modules, and can't be turned off. Yes, classes and modules are optional. If you want to use with or 05, don't use classes or modules. > Since it is mandatory, it is no longer "strict mode" like it is in perl. You can't opt out of it if you want to. Therefore all legacy constructs should be allowed there unless they are guaranteed to break the code in the future. > Sooner or later people will migrate their legacy code into es6 modules. We would want to make this migration as easy as possible. And saying that "02468" is fine in es3, forbidden in es6, and allowed again in es8 with *exactly the same meaning* isn't helping.