text: 
  exports.min = function min (array = 0) {
    if(array == 0 || array === null) {
      return 0;
    }
    let copy = array.slice().sort((a, b) => a - b);
    return copy[0];
  }
  
  exports.max = function max (array = 0) {
    if(array == 0 || array === null) {
      return 0;
    }
    let copy = array.slice().sort((a, b) => b - a);
    return copy[0];
  }
  
  exports.avg = function avg (array = 0) {
    if(array == 0 || array === null) {
      return 0;
    }
    return array.slice().reduce((sum, elem)=> sum + elem, 0) / array.length;
  }
  
  