Quoting https://people.mozilla.org/~jorendorff/es6-draft.html#sec-exports
> `export default` HoistableDeclaration > `export default` [lookahead ≠ `function`] AssignmentExpression `;` Questions: * Do these grammar rules mean that you have to put anonymous function expressions in parentheses? Is that desirable (given that it’s a frequent use case)? * If the purpose of the first rule is to enable default-exporting of declarations (= no semicolon) – shouldn’t classes be included? Thanks! Axel -- Dr. Axel Rauschmayer [email protected] rauschma.de
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

