javascript alert

JavaScript
 alert("Hello! I am an alert box!!");alert("string");alert(varible);alert("Message")- Information : You can only accept.
            - Confirmation: You can accept or decline.
            - Prompt    : You can accept, decline, and/or sendKeys.
3 types of JS Alerts

            - Information : You can only accept.
            - Confirmation: You can accept or decline.
            - Prompt    : You can accept, decline, and/or sendKeys.

Source

Also in JavaScript: