title: Why does it matter that in Javascript, scope is function-level, not block-level?
body: <p>In the question</p>
  
  <p><a href="https://stackoverflow.com/questions/1451009/javascript-infamous-loop-problem">Javascript infamous Loop issue?</a></p>
  
  <p>the accepted answer from Christoph's says</p>
  
  <blockquote>
    <p>JavaScript's scopes are
    function-level, not block-level</p>
  </blockquote>
  
  <p>What if Javascript's scopes are block-level, then would the Infamous Loop problem still occur?  Or  will there be a different (and easier) way of fixing it?</p>
  
  <p>Is it as opposed to other languages, where using a  <code>{</code>    would start a new scope?</p>