Display a text field to get input from the user and a callback to respond to the result.


title String (required) - A short title for the alert

message String (required) - The message content for the alert

callback function (required) - invoked when the message box is dismissed


PROMPT('Current Year', 'Please enter the current year', function (result) {
  if (NUM(result.input) === new Date().getFullYear()) {
    // Correct
  } else {
    // Incorrect