I’m stuck on Seek and Destroy: https://www.freecodecamp.com/challenges/seek-and-destroy I can’t see how to access the parameters after the first one. If I add no code other than a console.log(arr); I only see the array, not the 2nd & 3rd parameters. I.e.
function destroyer(arr) {
// Remove all the values
console.log(arr); // just shows [1, 2, 3, 1, 2, 3]
return arr;
}
destroyer([1, 2, 3, 1, 2, 3], 4, 5);
What happens to the 4, 5? I need them in the function to know what to remove, but can’t see them.