A

Admin • 833K Points
Coach

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

  • (A) alert()
  • (B) prompt()
  • (C) message()
  • (D) none of the mentioned
  • Correct Answer - Option(A)
  • Views: 16
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

The Window object also defines methods like alert(), which displays a message in a dialog box.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.