what happens when javascript runs the alert() function code example Example: simple alert program in javascript alert("this is the alert")