ALERT
Display a message as an alert.
Description
ALERT displays a message to the user. You can provide both the title and message of the alert box.
Parameters
title
String (required) - A short title for the alert
message
String (required) - The message content for the alert
Examples
ALERT('Warning!', 'A depth of 98 feet is high. Are you sure?');
// Displays an alert that looks like
// +-------------------------------------------+
// | Warning! |
// +-------------------------------------------|
// | |
// | A depth of 98 feet is high. Are you sure? |
// | |
// +-------------------------------------------+
Updated about 1 year ago