Minor questions on new module BNF

Kevin Smith zenparsing at gmail.com
Tue Jun 4 06:29:04 PDT 2013


>
> Yep, agreed. (To be pedantic, it's not that it defers execution so much as
> that it doesn't force execution.)
>

Can you explain?  I would naively expect for this:

    // someModule
    console.log("someModule");

    // main
    import "someModule";
    console.log("main");

when executing main, to output:

    > someModule
    > main

Thanks!

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


More information about the es-discuss mailing list