<p dir="auto">The instructions say "Let's remove all the values greater than five", but the test looks for a different filter: "You should have removed all the values from the array that are greater than 4."</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10488528/10405304/e3478662-6e8c-11e5-99d8-070b74763ebe.png"><img src="https://cloud.githubusercontent.com/assets/10488528/10405304/e3478662-6e8c-11e5-99d8-070b74763ebe.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">_------<strong>----</strong></p>
<p dir="auto">Challenge <a href="http://freecodecamp.com/challenges/waypoint-filter-arrays-with-filter#?solution=var%20array%20%3D%20%5B1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%5D%3B%0A%20%20%2F%2F%20Only%20change%20code%20below%20this%20line.%0Aarray%20%3D%20array.filter%28function%28val%29%20%7B%0A%20%20return%20val%20%3C%3D%205%3B%0A%7D%29%3B%0A%0A%0A%20%20%2F%2F%20Only%20change%20code%20above%20this%20line.%0A%28function%28%29%20%7Breturn%20array%3B%7D%29%28%29%3B%0A" rel="nofollow">Waypoint: Filter Arrays with filter</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36</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="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var array = [1,2,3,4,5,6,7,8,9,10];
  // Only change code below this line.
array = array.filter(function(val) {
  return val &lt;= 5;
});


  // Only change code above this line.
(function() {return array;})();
"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">array</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span><span class="pl-c1">2</span><span class="pl-kos">,</span><span class="pl-c1">3</span><span class="pl-kos">,</span><span class="pl-c1">4</span><span class="pl-kos">,</span><span class="pl-c1">5</span><span class="pl-kos">,</span><span class="pl-c1">6</span><span class="pl-kos">,</span><span class="pl-c1">7</span><span class="pl-kos">,</span><span class="pl-c1">8</span><span class="pl-kos">,</span><span class="pl-c1">9</span><span class="pl-kos">,</span><span class="pl-c1">10</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
  <span class="pl-c">// Only change code below this line.</span>
<span class="pl-s1">array</span> <span class="pl-c1">=</span> <span class="pl-s1">array</span><span class="pl-kos">.</span><span class="pl-en">filter</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">val</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
  <span class="pl-k">return</span> <span class="pl-s1">val</span> <span class="pl-c1">&lt;=</span> <span class="pl-c1">5</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>


  <span class="pl-c">// Only change code above this line.</span>
<span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-k">return</span> <span class="pl-s1">array</span><span class="pl-kos">;</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Assignment: Let's remove all the values greater than five<br>
Assert:  You should have removed all the values from the array that are greater than 4.<br>
problem arises if user includes 5 in result set</p>