Edit on github

How to clear the console

You can clear the JS Bin console either using a keyboard shortcut or programmatically using JavaScript.

The keyboard shortcut (from any panel) is: ctrl+l

The JavaScript code is: console.clear()