Ranando King (2019-03-20T01:52:56.000Z)
Why is that any different or better than

const [a, b] = [a, b]

?

On Tue, Mar 19, 2019 at 7:59 PM Sultan <thysultan at gmail.com> wrote:

> Afford array destructuring to Array-like objects.
>
> const [a, b] = {0: a, 1: b, length: 2}
>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20190319/2d8c6c96/attachment.html>
forbes at lindesay.co.uk (2019-04-24T11:21:01.937Z)
Why is that any different or better than

```js
const [a, b] = [a, b]
```

?