What's the difference in this while loop?
<p>What is difference between</p>

<pre><code>while(condition){
    var variable;   
    ...
}
</code></pre>

<p>and</p>

<pre><code>while(condition){(function(){
    var variable;   
    ...
})();}
</code></pre>

<p>Can somebody explain me defference?</p>
