alert

external fun alert(message: String)(source)

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

MDN Reference