Array tail destructuring

Cyril Auburtin cyril.auburtin at
Sat Oct 1 11:17:44 UTC 2016

It was possibly already discussed, but why isn't:
var [...a, last] = [1,2,3];

I don't see the problem, as long as there's one ... only
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list