code: function normalizeUnit(unit) {
      unit = toStr(unit);
  
      if (unitShorthandMap[unit]) return unitShorthandMap[unit];
  
      return unit.toLowerCase().replace(regEndS, '');
  }
docs: Turn 'y' or 'years' into 'year'