Array deconstructed ignore items
Starting in ES6, you can deconstruct an array. What this means is that you can set variables to the values in an array.
const characters = ['Fry', 'Leela', 'Bender', 'Professor Farnsworth', 'Zoidberg'];
Below shows how to deconstruct the above array. What this is doing is setting variables for each of the character names. This may not be ideal depending on what you are trying to do.
const [fry, leela, bender, professor, zoidberg] = characters;
// Returns 'Fry'
console.log(fry);
// Returns 'Leela'
console.log(leela);
Now say that we only wanted "Fry" and "Bender" from the characters array, JavaScript has a way to deconstruct the array to get only those two characters.
const [fry, , bender] = characters;
// Returns 'Fry'
console.log(fry);
// Return 'Bender'
console.log(bender);
As you can see in the above example we have two commas between the variable names. JS will see this and know to not assign a variable to the "Leela" key.