Vidyalelo
JavaScript · Q55

Server

Programming · JavaScript · question 55

Q55

Which Window object method is used to display message in a dialog box?

A.
alert()
Answer
B.
prompt()
C.
message()
D.
none of the mentioned

Answer: Option A

Solution

Answer: Option A
Solution:
The Window object also defines methods like alert(), which displays a message in a dialog box.