code: function dateList(numbers, type) {
      if (numbers.length < 2) {
        return numberToDateName('' + numbers[0], type);
      }
  
      var lastVal = '' + numbers.pop();
      var outputText = '';
  
      for (var i = 0, value; value = numbers[i]; i++) {
        if (outputText.length > 0) {
          outputText += ', ';
        }
        outputText += numberToDateName(value, type);
      }
      return outputText + ` ${locale['and']} ` + numberToDateName(lastVal, type);
    }
docs: From an array of numbers corresponding to dates (given in type: either
  days of the week, or months), return a string listing all the values.
  @param {Number[]} numbers
  @param {String} type
  @returns {String}