title: is it possible to refer to anonymous array in a for loop?
body: <pre><code>for (var name in ['dog','cat','cow']) {
    alert(name);
  }
  </code></pre>
  
  <p>The <code>name</code> here is returning the index of the array, but I can't refer to it since it's anonymous.</p>
  
  <p>I know I can declare it outside the loop, but here I'm asking if is there a way for refering to the name directly that is without index.</p>