title: setInterval and clearInterval, How to run only 1 time?
body: <p>I only want to run the function 1 time.</p>
  
  <pre><code>timerA = setInterval(function()
           {
              //codes..
              clearInterval(timerA);
           }, 2000);
  </code></pre>
  
  <p>I want to call the function inside setInterval only 1 time. How can I do it with setInterval and clearInterval?</p>
  
  <p>Or is there another technique to do it?</p>