blob: cbd5231841de1237867a3e66b09a8e60b38b2df7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
---
title: console.clear()
slug: Web/API/Console/clear
translation_of: Web/API/Console/clear
---
<div>{{APIRef("Console API")}}</div>
<p>O método <strong><code>console.clear()</code></strong> limpa o console, se o ambiente permitir.</p>
<h2 id="Sintaxe">Sintaxe</h2>
<pre class="syntaxbox">console.clear();
</pre>
<h2 id="Especificações">Especificações</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName("Console API", "#clear", "console.clear()")}}</td>
<td>{{Spec2("Console API")}}</td>
<td>Initial definition</td>
</tr>
</tbody>
</table>
<h2 id="Browser_compatibility">Compatibilidade com navegadores</h2>
<p>{{Compat("api.Console.clear")}}</p>
|