>
> export { foo as default };
>>
>> I fail to see why sugar over this form is necessary.
>>
>
> I completely agree. Plus if this is taken away then the "import" keyword
> can be used to get the whole module as in my example above. At that point
> maybe there is no need for the "module" keyword.
>
Maybe, but at this point that would be too big of a change to swallow. I
think if we can just focus on eliminating this one pointless and confusing
aspect (the export default [expr] form), we'll be good to go.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss