Tell us what’s happening:
Describe your issue in detail here.
**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)
console.log(source)
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36
Challenge: Use Destructuring Assignment with the Rest Parameter to Reassign Array Elements
Link to the challenge: