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
πŸ’¬ Discuss
βœ… Correct Answer: (A) alert()
Explanation: The Window object also defines methods like alert(), which displays a message in a dialog box.
Explanation by: Mr. Dubey
The Window object also defines methods like alert(), which displays a message in a dialog box.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
185
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate