Maybe ban holes, then... (was: Re: lexical for-in/for-of loose end)

Andreas Rossberg rossberg at google.com
Thu Feb 2 13:57:56 PST 2012


On 2 February 2012 21:19, Brendan Eich <brendan at mozilla.org> wrote:
> Some of you don't like holes, but they're not going away in arrays. They are
> useful in array patterns to avoid _ or junk bindings. That's enough to keep
> them, rather than straining to invent more cumbersome ad-hoc replacements.

Are you implying that wildcards are more ad-hoc than array holes? That
doesn't add up for me.

/Andreas


More information about the es-discuss mailing list