<p dir="auto">Challenge Bonfire: Seek and Destroy has an issue.<br>
User Agent is: Mozilla/5.0 (Windows NT 6.1; rv:40.0) Gecko/20100101 Firefox/40.0.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<p dir="auto">function destroyer(arr) {<br>
// Remove all the values</p>
<p dir="auto">var arr = arguments[0];<br>
var z = [];<br>
var j = 0;<br>
for (i = 1; i &lt; arguments.length-1; i++) {<br>
z[j]=arguments[i];<br>
j = j+1;<br>
}</p>
<p dir="auto">var chris = 0;<br>
var leny = arr.length;<br>
for (i = 0; i &lt; z.length; i++) {<br>
for (k = 0; k &lt; z.length; k++) {<br>
chris = arr.indexOf(z[k]);<br>
if (chris != -1) {<br>
arr.splice(chris, 1);<br>
}<br>
}<br>
}</p>
<p dir="auto">return arr;<br>
}</p>
<p dir="auto">destroyer(["tree", "hamburger", 53], "tree", 53, "");</p>
<p dir="auto">Challenge <a href="http://freecodecamp.com/challenges/bonfire-seek-and-destroy" rel="nofollow">Bonfire: Seek and Destroy</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; rv:40.0) Gecko/20100101 Firefox/40.0</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function destroyer(arr) {
  // Remove all the values

 var arr = arguments[0];
 var z = [];
 var j = 0;
 for (i = 1; i &lt; arguments.length-1; i++) {
    z[j]=arguments[i];
    j = j+1;
  }

  var chris = 0;
  var leny = arr.length;
  for (i = 0; i &lt; z.length; i++) {
   for (k = 0; k &lt; z.length; k++) {
     chris = arr.indexOf(z[k]);
     if (chris != -1) {
       arr.splice(chris, 1);
     }
   }
  }

  return arr;
}


destroyer([&quot;tree&quot;, &quot;hamburger&quot;, 53], &quot;tree&quot;, 53, &quot;&quot;);
"><pre class="notranslate"><code class="notranslate">function destroyer(arr) {
  // Remove all the values

 var arr = arguments[0];
 var z = [];
 var j = 0;
 for (i = 1; i &lt; arguments.length-1; i++) {
    z[j]=arguments[i];
    j = j+1;
  }

  var chris = 0;
  var leny = arr.length;
  for (i = 0; i &lt; z.length; i++) {
   for (k = 0; k &lt; z.length; k++) {
     chris = arr.indexOf(z[k]);
     if (chris != -1) {
       arr.splice(chris, 1);
     }
   }
  }

  return arr;
}


destroyer(["tree", "hamburger", 53], "tree", 53, "");

</code></pre></div>