title: How to get property value in js object when key is unknown
body: <p>I have an array of objects:</p>
  
  <pre><code>a = [
       {81.25: {p:81.25}}, 
       {81.26: {p:81.26}}
      ]
  </code></pre>
  
  <p>I want to loop through array ang get value of <strong>p</strong> in each element:</p>
  
  <pre><code>for (var key in a) {
     console.log(a[key]); // outputs {81.25: Object}
     //How do i get p value out of the current element?
  }
  </code></pre>
  
  <p>EDIT: sorry for misleading, I wodnt want to loop againg - thought may be some way to get <strong>first object inside current one</strong> and to get it's property p.</p>