title: Understanding a JavaScript For Loop
body: <p>If I have variables and a for loop with a condition set-up like this:</p>
  
  <pre><code>var scores = [23, 53, 85];
  var arrayLength = scores.length;
  var i;
  
  for(i = 0; i &lt; arrayLength; i++)
  </code></pre>
  
  <p>Does the <code>i</code> refer to the scores array indexed position of 0, or is <code>i</code> just the counter number, which is set to 0? </p>
  
  <p>I'm kinda confused on understanding what's happening.</p>
  
  <p>Any help is appreciated!</p>