title: synchronous and asynchronous loops in javascript
body: <p>Are loops synchronous or asynchronous in JavaScript? (for, while, etc)</p>
  
  <p>Supposing I have:</p>
  
  <pre><code>for(let i=0; i&lt;10; i++){
      // A (nested stuff...)
  }
  
  // B ...
  </code></pre>
  
  <p>Using <code>for</code> the execution of <code>B</code> will start before <code>A</code> sometimes... (so asynchronous)</p>
  
  <p>Is there a way to use statements in a synchronous way?</p>