David Herman wrote:
The 'at' might be appropriate but it just looks like an unfinished thought: "the module foo at 'foo.js'" ...what? Both the import-as and module-= forms state what the declaration is doing. The former declares it is importing the module; the latter declares it is defining/assigning the module. Either is sensible.
But (small objection, last time from me) the seeming use of an Iniitaliser (from the grammar), i.e., '= <expr>' -- even with constraints on <expr> -- is a kind of pun, potentially confusing or just awkward.
You make a good case for import-as! /be _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

