title: Best way to iterate array of hashes javascript
body: <p>If i have an array of hashes, whats the best way to iterate?</p>
  
  <pre><code>var a = [{"a": "1"}, {"b": "2"}, {"c": "3"}]
  
  for(var i in a) {
    console.log(a[i]) //prints each hash
    console.log(i)    //prints the index
  }
  </code></pre>
  
  <p>If i want to get a,b,c or 1,2,3 whats the best way?</p>
  
  <p>Thanks</p>