title: use case for a do-while loop in javascript?
body: <p>I'm aware that "do-while" will run atleast once compared to "while" which has to satisfy a condition to run.</p>
  
  <p>Is this correct usecase of do-while?</p>
  
  <pre><code>do{
    var ajaxresponse = make an ajax call and assign the response to the variable.
  while( ajaxresponse.length == &lt;some number&gt;);
  </code></pre>