The Window.alert() method displays an alert dialog with the optional specified content and an OK button.