title: Is clearTimeout necessary after setTimeout with 0ms?
body: <p>As i have already learned (here: <a href="https://www.youtube.com/watch?v=8aGhZQkoFbQ" rel="noreferrer">https://www.youtube.com/watch?v=8aGhZQkoFbQ</a>) it can be useful in some cases to call a setTimeout with 0ms delay (because of the event loop).</p>
  
  <p>Now ususally whenever I use <code>setTimeout</code> I also take care to call <code>clearTimeout</code> at the appropriate spot to make sure nothing remains somewhere and gets executed at a point where I do not want it to be executed.</p>
  
  <p>So my question is: Is it necessary (does it make sense) to call <code>clearTimeout</code> after a <code>setTimeout</code> with 0ms? The passed function is immediately appended to the callback queue so I would assume <code>clearTimeout</code> does not (and cannot) do anything. Or can <code>clearTimeout</code> remove the passed function even from the callback queue (so after the timeout expired but before the function has been executed)?</p>
  
  <p>Second question: Even if it does not do anything, is it anyway 'best practice' to call <code>clearTimeout</code> always in those cases?</p>