> 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?
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

