Search and destroy help please!

Search and destroy help please!
0.0 0

#1

Can someone please tell me why my code won’t work? The following is my code:
function destroyer(arr) {
// Remove all the values

var args = Array.prototype.slice.call(arguments[0]);
var newArray = [];

function isNot (val) {

  if (val === arguments[1] || val === arguments[2]) {
    return false;
  }
  else return true;

}

newArray = args.filter(isNot); //exclude numbers that return false
}

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

Any help will be greatly appreciated!