In 16.3.2.2.1:
16.3.2.2.1 Why two default export styles?
The second default export style was introduced because variable declarations can’t be meaningfully turned into default exports if they declare multiple variables:
export default const foo = 1, bar = 2, baz = 3; // not legal JavaScript!
Which one of the three variables foo, bar and baz would be the default export?
So, you are saying the second export style was introduced so that we can do:
const foo = 1, bar = 2 , baz = 3;
export default foo;
Right? But I don't see how that can be an improvement over this one:
export default const foo = 1;
const bar = 2, baz = 3;
It's same two lines of code.