How to retrieve property value in an array in javascript : <p>I have an array like this :</p>

<pre><code>var recordings = [];


  recordings.push({
    x: e.x,
    y: e.y,
    z: e.z
  });
</code></pre>

<p>How can I retrieve all the values to be displayed ?</p>

<p>I tried :</p>

<pre><code>recordings.x;
recordings.y;
recordings.z;
</code></pre>

<p>but it does not work</p>

<p>Thanks</p>
