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