• The alert() method displays an alert box with a specified message.

    Parameters

    • message: string | number | boolean

      Specifies the text to display in the alert box.

    Returns Promise<void>

  • The alert() method displays an alert box with a specified message.

    Parameters

    Returns Promise<any>