The following is mine, there are simmilar way of thinking but different way of code
function destroyer(arr){
//convert arguments into array
var args = Array.from(arguments);
//comparing the indexes of array and arguments
//and delete if it's equal
for(var i in arr){
for(var j in args){
if(arr[i] === args[j]){
delete arr[i];
}
}
}
// the expected result of arr would contain some null values
//therefore, we need to filter() those null
return arr.filter(arr => Boolean(arr));
}
Instead of just posting your solution (which the OP may not want to see just yet), try giving him hints what is currently causing his current solution to not pass the challenge.
Your code has been blurred out to avoid spoiling a full working solution for other campers who may not yet want to see a complete solution. In the future, if you post a full passing solution to a challenge, please surround it with [spoiler] and [/spoiler] tags on the line above and below your solution code.