console.error()

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

Explanation: The static browser API method that outputs an error message to the console. It's typically displayed in red text to indicate that something went wrong in the code.

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 4
  • The safari browser supports this feature starting from version 3
Availability: