Destructing Arrays : If we like to skip on of the values in the array we use additional comma. The comma helps to omit the value at that specific index

PHOTO EMBED

Fri Sep 16 2022 16:51:09 GMT+0000 (Coordinated Universal Time)

Saved by @sreejithbs

const numbers = [1, 2, 3]
let [numOne, , numThree] = numbers //2 is omitted
content_copyCOPY

https://github.com/Asabeneh/30-Days-Of-JavaScript/blob/master/11_Day_Destructuring_and_spreading/11_day_destructuring_and_spreading.md