alert()

Term side of the Card
Topic: Output Information
Unit title: alert()
Categories: Method
Explanation side of the Card

Explanation: The browser API method that displays a small popup box with a message and an 'OK' button. It pauses the code execution until the user closes the popup.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: