Finding the maximum number

The maximum of the numbers 3, 4, 5, -1, -2 using max is

The maximum of the numbers 3, 4, 5, -1, -2 using maxArray is

The maximum of the numbers 3, 4, 5, -1, -2 using Math.max is