Which of the following is a JavaScript function for finding the maximum value in an array?
A. Math.min()
B. Math.max()
C. Array.min()
D. Array.max()
Answer:B
Which of the following is a JavaScript function for finding the maximum value in an array?
A. Math.min() B. Math.max() C. Array.min() D. Array.max()