>
> var fn = () => ({ a, b } = { a: 0, b: 1 });
>
The expression `({ a, b } = { a: 0, b: 1 })` is a destructuring
assignment. If there are lexical bindings for `a` and `b` it will assign
to those. Otherwise, in strict mode it will fail with a ReferenceError.
In sloppy mode, it will assign to the global.traceur is correct.
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

