Returns the maximum value from an array of numbers.
Array of numbers to evaluate.
The largest number in the array.
max([1, 5, 3]); // returns 5max([-2, -5, -1]); // returns -1 Copy
max([1, 5, 3]); // returns 5max([-2, -5, -1]); // returns -1
1.1.0
Returns the maximum value from an array of numbers.