On Thu, Sep 29, 2011 at 12:53, Allen Wirfs-Brock <[email protected]> wrote:
> Also, note that I've currently spec'd ES6 so that 'arguments' can be used as
> a rest parameter name.  In other words
>    function foo(...args) {return args}
> and
>   function foo(...arguments) {return arguments}
> are semantically equivalent.
> I did this to  enable to make it easier to migrate code  such as:
>    function foo() {baz(arguments)}
> to
>    function foo(...arguments) {baz(arguments)}

Minus the Arguments class I hope.

-- 
erik
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to