Should ... be suffix rather than prefix?

Peter van der Zee ecma at qfox.nl
Tue Apr 3 13:26:17 PDT 2012


Second...

On Tue, Apr 3, 2012 at 10:16 PM, Mark S. Miller <erights at google.com> wrote:
>     foo(a, b, ...rest)
>
> vs
>
>     foo(a, b, rest...)
>
> Which is clearer?
>
> ES6 has currently agreed on the first. English and Scheme agree on the
> second.
>
> This question applies to both
> <http://wiki.ecmascript.org/doku.php?id=harmony:rest_parameters> and
> <http://wiki.ecmascript.org/doku.php?id=harmony:spread>.
>
> --
>     Cheers,
>     --MarkM
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>


More information about the es-discuss mailing list