title: What is the best way to print all the dates contained on some objects dates ranges inside an array?
body: <p>If I have an array of objects like this:</p>
  
  <pre><code>{
      "workPeriods": [
          {
              "user_id": "9345bf",
              "startDate": "2018-02-05T05:00:00.000Z",
              "endDate": "2018-02-09T05:00:00.000Z"
          },
          {
              "user_id": "80c3a9",
              "startDate": "2018-02-12T05:00:00.000Z",
              "endDate": "2018-02-16T05:00:00.000Z"
          },
          {
              "user_id": "35jh87",
              "startDate": "2018-02-19T05:00:00.000Z",
              "endDate": "2018-02-23T05:00:00.000Z"
          }
      ]
  }
  </code></pre>
  
  <p>What is the <em>best way</em> to print all the dates contained on each one of the objects dates range?<br>
  This need to be done using Moment jS</p>
  
  <p>The result should be something like this:</p>
  
  <pre><code>'Work days: 02/05, 02/06, 02/07, 02/08, 02/09,   02/12, 02/13, 02/14, 02/15, 02/16,   02/19, 02/20, 02/21, 02/22, 02/23'
  </code></pre>
  
  <p>Any suggestion?
  Thanks!</p>