code: function $max(params) {
      if (Array.isArray(params) && params.every(p => typeof p === 'number')) {
          return Math.max(...params);
      }
      throw new Error('$max expects an array of number');
  }
docs: Return the max number in the array
  
  @param {number[]} params
  @returns {number}