window.alert() instructs the browser to display a dialog with an optional message, and to wait until the user dismisses the dialog.
window.alert()
Examples
window.alert(Text)
window.alert("Hello! This is an alert")
Last updated 1 year ago