title: Read a field from every array object
body: <p>I have a JSON file that returns this :</p>
  
  <pre><code>{
    "id": 1,
    "name": "",
    "lastName": "",
    "birthDate": "",
    "invoice": [
      {
        "id": 1,
        "date": "20/10/2015"
      },
      {
        "id": 2,
        "date": "20/8/2013"
      },
      {
        "id": 3,
        "date": "20/6/2012"
      }
    ]
  }
  </code></pre>
  
  <p>if I access <code>invoice[0].date</code> I will get <code>"20/10/2015"</code>.</p>
  
  <p>I need to save in an array all three dates in this case, so that I can show it in a dropdown. <code>&lt;select&gt;</code> option should have all three dates.</p>
  
  <p>How do I save and access those in JavaScript?</p>
  
  <pre><code>var allDates=data.info[all arrays].date // date field of every object
  </code></pre>