Array tail destructuring

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


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

I don't see the problem, as long as there's one ... only
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20161001/1b07bcfa/attachment.html>


More information about the es-discuss mailing list