Vidyalelo
JavaScript · Q108

Caching And Debugging

Programming · JavaScript · question 108

Q108

How do you find the number with the highest value of x and y?

A.
ceil(x,y)
B.
top(x,y)
C.
Math.ceil(x,y)
D.
Math.max(x,y)
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
Math.max(x,y) is used to find the highest value of x and y.