Seek and Destroy //Duplicate elements

How do i remove the duplicate elements?

Your code so far

function destroyer(arr) {
  var arr1;
 arr1=arr.filter(function(x){});
  return arr;
}

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

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36.

Link to the challenge: