title: The console of After Effects's Script Editor logs only the last object in for loop
body: <p>I have the following for loop:</p>
  
  <pre><code>var arr = [ "a", "b", "c" ];
  for(var i=0; i &lt; arr.length; i++) {
      arr[i];
  }
  </code></pre>
  
  <p>When I call it in the Script Editor of After Effects CC 2014 only <code>c</code> will be printed in the console instead of:</p>
  
  <pre><code>a
  b
  c
  </code></pre>
  
  <p>Is this normal that only the last object of the <code>Array</code> is printed? What happens in the background? The loop runs normally like <code>a</code> then <code>b</code> then <code>c</code> and printing the last object only is just an option of the Script Editor?</p>