aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/console/clear/index.html
blob: 1e43a57ed1916fa718b9195a04c9eac355c99586 (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
37
38
39
40
41
42
43
44
---
title: clear()
slug: Web/API/console/clear
tags:
  - API
  - Debugging
  - Method
  - Reference
  - console
  - web console
translation_of: Web/API/Console/clear
---
<div>{{APIRef("Console API")}}</div>

<p><code>console.clear()</code>は実行環境が許可する場合、コンソールをクリアします。</p>

<h2 id="Syntax" name="Syntax">構文</h2>

<pre class="syntaxbox notranslate">console.clear();</pre>

<h2 id="Specifications" name="Specifications">仕様</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">仕様書</th>
   <th scope="col">策定状況</th>
   <th scope="col">コメント</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{SpecName("Console API", "#clear", "console.clear()")}}</td>
   <td>{{Spec2("Console API")}}</td>
   <td>最初期の定義</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザ実装状況</h2>



<p>{{Compat("api.Console.clear")}}</p>