My apologies. I meant to say that Traceur doesn't support returning a
literal object from an arrow function with syntax like this:
let f = x => ({foo: bar});
However, I just tested it again and it works fine. I could swear this
didn't work a few months ago. Maybe it was fixed recently. I'm happy!
On Mon, Jan 5, 2015 at 2:48 PM, Mark Volkmann <[email protected]>
wrote:
> In addition, I don't think Traceur supports that syntax yet. I have had to
> do this instead:
>
> let f = x => {
> return {foo: bar};
> };
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss