MCQ
Which method is used to get the maximum value in an array?
JavaScript
A Math.max()
B Math.max.apply()
C Math.max(...array)
D All of the above
Explanation

All of these methods can be used to find the maximum value in an array.