Returns the largest value in an array of numbers
Array of numbers to find maximum from
The maximum value in the array
If array is empty
const numbers = [10.5, 2.3, 15.7];const maximum = max(numbers); // Returns 15.7 Copy
const numbers = [10.5, 2.3, 15.7];const maximum = max(numbers); // Returns 15.7
Returns the largest value in an array of numbers