clear console browser code example Example: javascript clear console If you type "clear()" into the browser console it clears it.