Non-binding destructuring assignment
Brendan Eich
brendan at mozilla.org
Wed Apr 29 16:40:01 UTC 2015
Andreas Rossberg wrote:
> I agree that we should have wildcard patterns. I also think that array
> elisions are a non-solution, because you need a magnifier to read or
> count them,
Agree.
> and they square oddly with optional commas in the end.
Old rule: allowing one (and only one) comma at end for maintainabilitiy
does not make an elision. For that you need a comma at the front or two
commas adjacent in the middle. Ok, odd but old too (ES3), and your
"commas" plural oversold it :-P.
/be
More information about the es-discuss
mailing list