> #2 was removed at the hallway discussion of the face to face meeting. Do
> you still think we should remove #3?
>
>
My only real issue with #3 is that it raises a footgun flag for me:
export default function parse1JS(code) {
// ...
}
parse1JS.foo = "bar"; // Surprise! [ReferenceError: parse1JS" is not
defined]
It's an assignment, but it *looks* like a declaration. Being an
assignment, you need the "=" to signal to the user that what follows is an
expression:
export default = function parse1JS(code) { }; // Obviously an
expression!
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss