title: Find the earliest of a series of JavaScript dates
body: <p>How do I find the earliest of a set of dates. Currently I have the following code which works just fine: </p>
  
  <pre><code>var dates = [date1,date2]; // list of javascript dates 
  var start = moment(new Date(9999, 0, 1))
  // I wished this was one line in momentjs + underscorejs
  _.forEach(dates, (date) =&gt; {
        if (moment(date).isBefore(start)) {
              start = moment(date);
        }
  });
  </code></pre>
  
  <p>I was hoping there was a neater way (in one line). I would prefer to use a simpler function in Underscore (min does not work on dates) / momentjs. </p>