excluding features from sloppy mode

Herby Vojčík herby at mailbox.sk
Fri Dec 28 07:02:24 PST 2012

Kevin Smith 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

That implicit head and braces are in the library, though; so if node 
wanted (and it would be possible somehow), it could replace it with 
module. Still don't know if exporting / reentrant require could be 
handled without much fuss.

> modules, would not apply to them.
> { Kevin }


More information about the es-discuss mailing list