console.clear()
Term side of the Card
Topic: Output Information
Unit title: console.clear()
Categories: Method
Explanation side of the Card
Explanation: The static browser API method that clears all messages from the console if the environment allows it. It's used to create a clean slate for logging new information.
Browser compatibility:
- The chrome browser supports this feature starting from version 25
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 39
- The safari browser supports this feature starting from version 7
Availability: