JavaScript provides three built-in window types:
E.g. prompt("You are being prompted", "");
Figure: JavaScript prompt
If you don't want to display a default then simply use an empty string.
E.g. confirm("Please Confirm?");
Figure: JavaScript confirm
Sample applications:
E.g. alert("Are You Alert?");
Figure: JavaScript alert