How to use object destructuring with the index over an array?

```ts
const names = ['Roy', 'Liz', 'Sofia', 'Clau']

const {
  0: zero,
  1: one,
  2: two,
  3: three,
} = names

console.log(zero) // 'Roy'
```

rogelio-alatorre
June 28, 2022
