Click or drag to resize

Clear function

Clear function clears the console output.

Syntax

Default syntax: clear.

output Hello world
output Invisible text

clear

output Visible text

//The code outputs "Visible text"