console.clear()
The console.clear()
method clears the console if the
environment allows it.
Syntax
console.clear();
Specifications
Specification |
---|
Console Standard # clear |
Browser compatibility
BCD tables only load in the browser
The console.clear()
method clears the console if the
environment allows it.
console.clear();
Specification |
---|
Console Standard # clear |
BCD tables only load in the browser