Note:An alert message in a dialog window. Syntax: window.alert(param1)Parameters: param1 Optional; the message.