It depends on how you access it: if you import the file or load it via 
`<module>` then the file is interpreted as a module.


> On Oct 19, 2014, at 19:50 , Mark Volkmann <[email protected]> wrote:
> 
> I understand that module code is implicitly in strict mode.
> In an ES6 environment, what causes a .js file to be treated as a module?
> Does that happen automatically to all files that export at least one thing?
> 
> -- 
> R. Mark Volkmann
> Object Computing, Inc.
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss

-- 
Dr. Axel Rauschmayer
[email protected]
rauschma.de



_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to