Rest parameter syntax

Rick Waldron waldron.rick at gmail.com
Tue Jun 12 10:00:36 PDT 2012


>
> snip
>


>
> But I understand there are problems. First, what with optional params
> after ...rest. And the second, how to parse it when foo(1, 2) called?
>

There was a lengthy thread about this, here:
https://mail.mozilla.org/pipermail/es-discuss/2012-April/022256.html


Rick


ps. This is an alternate, nested thread view:
http://old.nabble.com/Fwd%3A-undefined-being-treated-as-a-missing-optional-argument-tt33672515.html



>
>  Rick
>>
>
> Herby
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120612/cc1baa96/attachment.html>


More information about the es-discuss mailing list