text: 
  exports.min = function min (array) {
      return !arguments.length ? 0 : array.length === 0 ? 0 : Math.min(...array);
  }
  
  exports.max = function max (array) {
      return !arguments.length ? 0 : array.length === 0 ? 0 : Math.max(...array);
  }
  
  exports.avg = function avg (array) {
      return !arguments.length ? 0 : array.length === 0 ? 0 : array.reduce((a,b) => a + b, 0) / array.length;
  }
  