treated as a module if ...
Mark Volkmann
r.mark.volkmann at gmail.com
Sun Jul 5 13:38:57 UTC 2015
Thanks for the quick reply! Does this mean that a file that contains
imports, but no exports, is not by default evaluated in strict mode?
On Sun, Jul 5, 2015 at 8:27 AM, Erik Arvidsson <erik.arvidsson at gmail.com>
wrote:
> d. If a source file is imported it is parsed using the Module production.
>
> On Sun, Jul 5, 2015, 09:03 Mark Volkmann <r.mark.volkmann at gmail.com>
> wrote:
>
>> Fill in the blank.
>> In ES 2015, a JS source file is treated as a module if _____.
>> a. it exports anything
>> b. it imports anything
>> c. both a and b
>> d. something else
>>
>> ---
>> R. Mark Volkmann
>> Object Computing, Inc.
>> _______________________________________________
>> es-discuss mailing list
>> es-discuss at mozilla.org
>> https://mail.mozilla.org/listinfo/es-discuss
>>
>
--
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150705/d26270b6/attachment.html>
More information about the es-discuss
mailing list