aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/api/console/clear/index.html
blob: 540ce73ee5756d873322878ab79cc7f818086453 (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
---
title: console.clear()
slug: Web/API/Console/clear
tags:
  - API
  - Method
  - Reference
  - console
translation_of: Web/API/Console/clear
---
<div>{{APIRef("Console API")}}</div>

<p><strong><code>console.clear()</code></strong> 메서드는 현재 환경에서 가능한 경우, 콘솔에 기록된 메시지를 모두 지웁니다.</p>

<h2 id="구문">구문</h2>

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

<h2 id="명세">명세</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="브라우저_호환성">브라우저 호환성</h2>



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