title: JavaScript Timers
body: <p>I want to call <code>setTimeout()</code> after a click occurs.</p>
  
  <p>If the user clicks again before <code>300ms</code> has passed, I want to stop that timer, fire off another function and restart the original timer.</p>
  
  <p>I know about <code>setTimeout()</code> but I'm not sure how to approach this problem.</p>