alert

window.alert() instructs the browser to display a dialog with an optional message, and to wait until the user dismisses the dialog.

Examples

window.alert(Text)
window.alert("Hello! This is an alert")

Last updated