ES6 - Use Destructuring Assignment with the Rest Parameter to Reassign Array Elements

So i compared the solution to my answer and i’m correct. So why can’t I continue? I’m using the rest parameter to call the rest of the elements in the array. It only asks me to omit the first two elements. But the answer wants {3, 4, 5}.

Your code so far

function removeFirstTwo(list) {
  // Only change code below this line
  const [a, b, ...arr] = list;// Change this line
  // Only change code above this line
  return arr;
}

const source = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
const sourceWithoutFirstTwo = removeFirstTwo(source);

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0

Challenge: ES6 - Use Destructuring Assignment with the Rest Parameter to Reassign Array Elements

Link to the challenge:

You ignored this line.

Thanks bud, i saw it and fixed it.