Window alert() Method

The alert() method show an alert box with a specified message and an OK button.

Alert box with:-

alert("Hello");

2020-01-16