title: Javascript empty loop
body: <p>I saw some code like this:</p>
  
  <pre><code>while(ajaxCallInProgress)
          {
          }
          ajaxCallInProgress = true;
  </code></pre>
  
  <p>What is the use of this empty loop in javascript? What its does ? Thanks in advance...</p>