arrow syntax unnecessary and the idea that "function" is too long
Brendan Eich
brendan at mozilla.com
Fri May 20 11:07:51 PDT 2011
On May 20, 2011, at 11:06 AM, Brendan Eich wrote:
> Destructuring assignment -- not the binding forms, e.g. let {x, y} = obj; but just assignment expressions, {x, y} = obj -- takes advantage of this cover grammar approach,
The example {x, y} assumes http://wiki.ecmascript.org/doku.php?id=strawman:object_initialiser_shorthand makes it to Harmony.
/be
More information about the es-discuss
mailing list