title: Check if the first letter of each element of an array is capital using filter method. But I keep getting the whole array
body: <pre><code>// JavaScript Document
  "use strict";
  var testArray =["beau","Diane","morgan","Brittany"];
  function checkCapital(value,index,array) {
      if(value!==value.charAt(0).toLowerCase())
      return value;
  }
  var capital =testArray.filter(checkCapital);
  console.log(capital);
  </code></pre>
  
  <p>I need to check if the first letter of every value of the array is a capital  using filter method. But I keep getting the whole array returned on my function.</p>