Seek and Destroy Basic algorithm challenge


I’m doing the Seek and destroy algorithm challenge but I don’t know what I’m doing I’ve tried doing several different versions of the same code but I can’t seem to get it.

<p> function destroyer(arr) {
var args =[0], arguments[1]);

return args;

destroyer([1, 2, 3, 1, 2, 3], 2, 3); </p>  And this
<p> function destroyer(arr) {
var args =[0], arguments[1],arguments[2]);
 // using 3 arguments in the later call ^^

return args;

// to store (or directly use) the returned value:
var result = destroyer([1, 2, 3, 1, 2, 3], 2, 3);
alert(result); </p>


The Seek and Destroy problem needs a better problem statement - something like

Write a function to remove all values from an array found in a list of values. The function is called with one or more arguments. The first argument is the array to remove values from. Each additional argument is a value to remove from the array.

The function should return an array of values present in the first argument that do not match any of the optional arguments.