title: Maximum Call Stack Size Exceeded During a setTimeout Call
body: <p>I'm trying to call my function every 4 seconds so it will increment a number live. For some reason I keep getting errors. Here's my code:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Recycle Counter&lt;/title&gt;
  &lt;script type="text/javascript"&gt;
      function rand(from, to)
      {
         return Math.floor(Math.random() * (to - from + 1) + from); // Generates random number
      }   
  
      var num = rand(10000, 100000);
  
      function getNum() // Gets triggered by page load so innerHTML works
      {
          document.getElementById('counter').innerHTML = num + 7;
          setTimeOut(getNum(), 4000);
      }   
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body onload="getNum()"&gt;
      &lt;div id="counter"&gt;
  
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>