Array tail destructuring

Jason Orendorff jason.orendorff at
Tue Oct 4 13:33:56 UTC 2016

On Tue, Oct 4, 2016 at 7:12 AM, Cyril Auburtin <cyril.auburtin at>

> I didn't understand everything discussed above, but to me, the only
> asymmetry between head and tail destructuring is for infinite iterators:
> `var [x] = neverEndingIterator` vs `var [...a, x] = neverEndingIterator //
> fails`

Read the post just before yours. Caitlin pointed out another difference.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list