The alert() function shows a message box, with optional message text.
alert()
alert() alert(message)
message
None (undefined).
undefined
> alert() undefined > alert("Hello, world!") undefined