Seek and Destroy Why's this wrong?

Seek and Destroy Why's this wrong?
0.0 0

#1

Tell us what’s happening:

Your code so far

function destroyer(arr,...args){
  return arr.filter(val => args.indexOf(val) ===-1);
}

destroyer([1, 2, 3, 1, 2, 3], 2, 3);

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; rv:11.0) like Gecko.

Link to the challenge:


#2

It works fine for me, but put this ->>>>>>>>>> “esversion:6”;
at the very top of your code.