Window JavaScript Tutorial

Syntax

window.alert(string)
The alert() method displays an alert dialog box when invoked.
The 'string' is displayed in the box.