console.clear()
O método console.clear()
limpa o console, se o ambiente permitir.
Sintaxe
console.clear();
Especificações
Specification | Status | Comment |
---|---|---|
Console API The definition of 'console.clear()' in that specification. |
Padrão em tempo real | Initial definition |
Compatibilidade com navegadores
BCD tables only load in the browser