ES6 - Destructuring via rest elements

Tell us what’s happening:
why do they keep telling " Destructuring on

list

should be used"

Your code so far

const source = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; 
function removeFirstTwo(list) {
  // Only change code below this line
  const [, ,...arr] = list; // Change this line
  // Only change code above this line
  return arr;
}

const arr = removeFirstTwo(source);
console.log(arr)

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36

Challenge: ES6 - Destructuring via rest elements

Link to the challenge:

You need to keep the shorterList variable name in the initial code (not arr).