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