console.assert()
Term side of the Card
Topic: Output Information
Unit title: console.assert()
Categories: Method
Explanation side of the Card
Explanation: The static browser API method that logs a message to the console only if a specified condition is `false`. It's useful for testing assumptions in the code.
Browser compatibility:
- The chrome browser supports this feature starting from version 2
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 28
- The safari browser supports this feature starting from version 4
Availability: