title: setTimeout()/setInterval() won't execute. **I AM passing the function object - not executing the function
body: <p>The block I'm having issues with is the following:</p>
  
  <pre><code>setInterval(checkInput, 5000);
  </code></pre>
  
  <p>where</p>
  
  <pre><code>var checkInput = function (letter) {
      console.log("This executed")
      if (ncorrect &gt; 25)
          clearInterval();
      if (document.getElementById('keyinput').value === letter)
          ncorrect++;
      else
          ncorrect = 0;
  }
  </code></pre>
  
  <p>I have read the SO posts where the issue is that the function passed looks like <code>setTimeout(function(), 500)</code> and the issue is the <code>()</code>, but I am clearly not doing that. </p>
  
  <p>When debugging it seems that the function never actually executes at all, and the setTimeout()/setInterval() WILL NOT wait the given amount of time. I get no errors or warnings. Any insight is appreciated. Thank you!</p>