I did it:
function destroyer(arr) {
let joinedArgs = []
for (let i = 1; i < arguments.length; i++) {
joinedArgs.push(arguments[i])
}
return arr.filter(item => !joinedArgs.includes(item));
}
You’re hint about making the args in one array was key. Then is was just a matter of comparing two arrays. I my head I was going around loops and stuff and getting confused…
Thanks much appreciated!