title: Check if string contains any of array of strings without regExp
body: <p>I am checking a string input whether it contains any of an array of strings or not. It is passing most of the tests but not the below one.</p>
  
  <p>Can anyone break my code down why it is not working properly?</p>
  
  <pre><code>     function checkInput(input, words) {
        var arr = input.toLowerCase().split(" ");
        var i, j;
        var matches = 0;
        for(i = 0; i &lt; arr.length; i++) {
          for(j = 0; j &lt; words.length; j++) {
            if(arr[i] == words[j]) {
              matches++;
            }
          }
        }
        if(matches &gt; 0) {
          return true;
        } else {
          return false;
        }
      };
  
  checkInput("Visiting new places is fun.", ["aces"]); // returns false // code is passing from this test
  checkInput('"Definitely," he said in a matter-of-fact tone.', 
      ["matter", "definitely"])); // returns false; should be returning true;
  </code></pre>
  
  <p>Thank you for your time!</p>