Re: ES6 module syntax – done?
Juan Ignacio Dopazo
jdopazo at yahoo-inc.com
Wed Aug 6 11:42:41 PDT 2014
There was discussion about using `this` for exposing metadata about the module. For example (pure speculation):
this.address; // location of the current module
this.name; // name of the current module
this.metadata; // object with metadata generated during the loading lifecycle
this.loader // maybe? reference to the loader that actually loaded this module
On Wednesday, August 6, 2014 3:31 PM, Axel Rauschmayer <axel at rauschma.de> wrote:
I haven’t seen any mention of `import * as foo` in the meeting notes, so I’m assuming that the ES6 module syntax is basically done. Right? Except for the “import-into-namespace syntax” , of course. As an aside, I’m really glad that `this` won’t be used here (which would have resulted in yet another thing one has to learn about `this`).
Dr. Axel Rauschmayer
axel at rauschma.de
es-discuss mailing list
es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss