Skip to main content

Archive

Show more

How to clear javascript console in Google Chrome

how-to-clear-javascript-console-in-google-chrome


Question: How to clear javascript console in Google Chrome

Answer:

There are several ways to clear the google chrome javascript console. We can use some commands and functions to perform this task.

Apart from this, we can also use the console option and keyboard shortcuts. We will discuss all possible methods to clear the google chrome console. Please contact us if any method is missed.


First: call 'clear' function

clear();


Second: call 'window.clear()' function

console.clear();


Third: click on 'ban-circle', you can see in the image.

clear-google-chrome-console


Four: press 'ctrl + l', while cursor is focused in the console

ctrl + l


We try to provide you the best content, if there is any mistake in this article or there is any mistake in code, then let us know.

Comments