excluding features from sloppy mode

Russell Leggett russell.leggett at gmail.com
Fri Dec 28 05:36:23 PST 2012


On Fri, Dec 28, 2012 at 6:06 AM, Kevin Smith <khs4473 at gmail.com> wrote:

>
>
>> What about node code?
>>
>
> Well, node modules are not ES6 modules.  They are functions with an
> implicit head and braces.  So implicit strict mode, applied to ES6 modules,
> would not apply to them.
>

Sorry, I should have expanded further - that was my point. Node is a case
where I can see classes being used without modules. I imagine native class
support will hit v8 soon enough, and I could see people start using them
without trying to switch to ES6 modules.


>
> { Kevin }
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121228/cca46079/attachment.html>


More information about the es-discuss mailing list