So the following are equivalent? ```js export default foo(); export let default = foo(); ``` On Jan 29, 2014 5:19 PM, "Jason Orendorff" <[email protected]> wrote:
> On Wed, Jan 29, 2014 at 2:00 PM, Erik Arvidsson > <[email protected]> wrote: > > `export default 1` works. > > > > https://people.mozilla.org/~jorendorff/es6-draft.html#sec-exports > > > > ExportDeclaration : > > export default AssignmentExpression ; > > I think that just exports the value 1 with the name "default". > > -j >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

