adplus-dvertising
frame-decoration

Question

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: (d).Math.max(x,y)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

Q. What is the syntax of close method for document object?

Q. Which is a wrapped Java array, accessed from within JavaScript code?

Q. Which of the following has a lesser benchmark time for using JQuery to access DOM versus pure JavaScript in milliseconds?

Q. What is the purpose of the function eval?

Q. Which class provides an interface for invoking JavaScript methods and examining JavaScript properties?

Q. Which of the following has a greater benchmark time for looping and JQuery vs core JavaScript in milliseconds?

Q. Which is the function used to loop in an array to view all the values?

Q. What is a framework?

Q. What is the purpose of a JavaScript debugger?

Q. How do we debug a script?

Q. What kind of error notifications are shown in the console window?

Q. What is the other way of calling the Error Console in Firefox?

Q. What is the procedure to view the console in the Firefox?

Q. Which of the following is the window that the Firefox sends the error messages to?

Q. Where is the error icon option available?

Q. Where is the error icon shown in the Internet Explorer?

Q. Which of the following is the definition for debugging?

Q. What is it called when we make a mistake in the script?

Q. What is the purpose of the mimeTypes property of a plug-in entry?

Q. Which of the following are the properties of a plug-in entry?