@@iterator in arguments object

Axel Rauschmayer axel at rauschma.de
Sat Dec 22 17:35:37 PST 2012

Parameter default values weren't good enough for this?

[[[Sent from a mobile device. Please forgive brevity and typos.]]]

Dr. Axel Rauschmayer
axel at rauschma.de
Home: http://rauschma.de
Blog: http://2ality.com

On 22.12.2012, at 23:57, Brandon Benvie <brandon at brandonbenvie.com> wrote:

> It's good this will be added (no reason not to) but I'll note that is much less of a requirement to even use the arguments object at all, especially iteration use cases that are pretty much filled by rest. In fact (almost?) the only place I've actually referenced the arguments object is to count the number of arguments to differentiate between deliberate undefined and a missing argument (and only for that use in order to match the behavior of how js engines treat the arguments to some string built-ins).
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121223/233569db/attachment.html>

More information about the es-discuss mailing list