excluding features from sloppy mode

Kevin Smith khs4473 at gmail.com
Wed Dec 26 22:51:07 PST 2012


> You're not in marketing, are you :-P.
>

No - and if I had any marketing sense I'd have a much better day job : )

Indeed, it goes against Dave's original proposal that module opt into
> strict mode, which avoids some problems with sloppy mode in modules, e.g.
> implicitly created globals by assignment to free names.
>

Does this mean any script loaded as a module?

    import something from "x.js";

So "x.js" would be strict mode code, even if it doesn't start with "use
strict;"?

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


More information about the es-discuss mailing list