<p>Since <em>length</em> is a JavaScript property, does it matter whether I use</p>

<pre><code>for( var i = 0; i &lt; myArray.length; i++ )
</code></pre>

<p>OR</p>

<pre><code>var myArrayLength = myArray.length;
for( var i = 0; i &lt; myArrayLength ; i++ )
</code></pre>

<p>­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­</p>

```
```
for(var i = 0, iLen = myArray.length; i < iLen; i++)
```
```
See
http://blogs.oracle.com/greimer/resource/loop-test.html
for benchmarks of various Javascript loop constructs.