Brendan Eich (2013-10-01T03:57:11.000Z)
domenic at domenicdenicola.com (2013-10-13T02:52:16.501Z)
> Brandon Benvie <mailto:bbenvie at mozilla.com> > September 30, 2013 8:48 PM > I'm actually now really curious what the following does: > > ```js > function foo(x, y = (() => { arguments[0] = "foo"; return "bar" })()) { > return [x, y]; > } > ``` Easy: arguments is an early error in the body of an arrow. http://wiki.ecmascript.org/doku.php?id=harmony:arrow_function_syntax