set a time of the alert message in javascript code example Example: how to make alert in javascript alert("Alert")