console.clear()

Esta tradução está incompleta. Ajude a traduzir este artigo em inglês

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 de Browser

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
clearChrome Full support YesEdge Full support 12Firefox Full support 48IE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support 48Opera Android ? Safari iOS ? Samsung Internet Android Full support Yes

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown