Are you sure? The [spec](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-exports) says that `export default` is followed by an `AssignmentExpression`, which would make `function foo() {}` a function expression, not a function declaration. Am I misreading the spec?