function removeFirstTwo(list) {
// Only change code below this line
const shorterList = list; // Change this line
// Only change code above this line
return shorterList;
}
const source = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
const sourceWithoutFirstTwo = removeFirstTwo(source);
It looks like you made a bunch of changes outside of the comments telling you where to make changes… I’d remove all those extra changes. The changes look like you copied an old answer to the problem. I strongly recommend against doing that, as these challenges get updated and old answers often don’t work.