Array Destructuring Skipping Values
You could treat the array as object and destructure with the index as key and assign to a new variable name.
const
array = [37, 38, 39, 40, 41, 42, 43],
{ 5: result } = array;
console.log(result);
Use object-destructuring
instead:
const splittedArr = [1, 2, 3, 4, 5];
const { 1: second, 4: fifth } = splittedArr;
console.log(second, fifth);