Clearing the console - console.clear
suggest changeYou can clear the console window using the console.clear()
method. This removes all previously printed messages in the console and may print a message like “Console was cleared” in some environments.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents