Skip to main content
Console.clear - Web documentation
method Console.clear
Private
Console.clear(): void

Clears the console if the environment allows it

Examples

Example 1

console.clear();

Return Type

void
Back to top