Kevin Smith (2014-12-13T04:44:58.000Z)
>
> From https://people.mozilla.org/~jorendorff/es6-draft.html#sec-exports,
> it seems that "export default var a = 1;” is not valid in es6. I wonder why
> that’s the case. You can already do "var a = 1;export default a;”. Why not
> make "export default var a = 1;” valid?
>

Exporting a variable declaration list as "default" wouldn't make sense:
 for one, the list can have more than one element:

    export default var a, b, c;  // Non-sensical
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20141212/76ea0961/attachment.html>
d at domenic.me (2015-01-05T20:20:10.034Z)
Exporting a variable declaration list as "default" wouldn't make sense:
 for one, the list can have more than one element:

    export default var a, b, c;  // Non
d at domenic.me (2015-01-05T20:20:17.949Z)
Exporting a variable declaration list as "default" wouldn't make sense:
 for one, the list can have more than one element:

    export default var a, b, c;  // Non-sensical