Do I need to declare the iterator inside a for loop?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/790558/variable-scope-in-javascript-for-loop">Variable scope in Javascript for loop</a>  </p>
</blockquote>



<pre><code>for(i=0;i&lt;4;i++){

}
</code></pre>

<p>Do I need to say:</p>

<p><code>for(var i=0;i&lt;4;i++)</code> ...?</p>

<p>Otherwise things will be global, right?</p>
