1.
What is the purpose of window.alert() in JavaScript?
2.
Which method is used to display an alert dialog box in JavaScript?
3.
What happens when window.alert() is executed in a JavaScript code?
4.
How can you include line breaks in an alert message using window.alert()?
5.
When should window.alert() be used in JavaScript?
6.
What is the behavior of window.alert() in terms of script execution?
7.
How does window.alert() impact user interaction on a webpage?
8.
Which of the following is a valid use case for window.alert() in JavaScript?
9.
What does the message parameter in window.alert() represent?
10.
What happens if you include HTML tags in the message parameter of window.alert()?