title: How do I reset the setInterval timer?
body: <p>How do I reset a <code>setInterval</code> timer back to 0?</p>
  
  <pre><code>var myTimer = setInterval(function() {
    console.log('idle');
  }, 4000);
  </code></pre>
  
  <p>I tried <code>clearInterval(myTimer)</code> but that completely stops the interval. I want it to restart from 0.</p>