alertShows the given message and waits for the enter key pressed. If the stdin is not interactive, it does nothing. function alert(message?: string): void;§alert(message?: string): void[src]§Parameters§message?: string optional[src]§Return Type§void[src]