ModuleImport
Kevin Smith
zenparsing at gmail.com
Tue Jun 24 19:53:12 PDT 2014
> If it is considered legal, then I'd say maybe the default export should
> be named @@default (or a similar symbol) instead.
>
That was proposed at one time, but then the whole "default" business (which
is arguably a bit dodgy to begin with) becomes something more than just
sugar. A user cannot export a Symbol-named export, right? And really, why
bother using a symbol in any case? What advantage would that give?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140624/9b9da569/attachment-0001.html>
More information about the es-discuss
mailing list