console.clear()
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
O método console.clear()
limpa o console, se o ambiente permitir.
Sintaxe
console.clear();
Especificações
Specification |
---|
Console Standard # clear |
Compatibilidade com navegadores
BCD tables only load in the browser