aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/api/console/time
diff options
context:
space:
mode:
authoriamgamja <hmmthinking@naver.com>2022-02-09 16:01:55 +0900
committerSungwoo Park <codest99@gmail.com>2022-02-20 18:36:04 +0900
commit2aa763f8fae4fc46bbbfd5b012f865afa69c068b (patch)
tree7dd4532934429da5788a7e1f5a3c060083863f78 /files/ko/web/api/console/time
parent87990b6bf559dd76dd65cefc2b112daacad9962a (diff)
downloadtranslated-content-2aa763f8fae4fc46bbbfd5b012f865afa69c068b.tar.gz
translated-content-2aa763f8fae4fc46bbbfd5b012f865afa69c068b.tar.bz2
translated-content-2aa763f8fae4fc46bbbfd5b012f865afa69c068b.zip
edit files
Diffstat (limited to 'files/ko/web/api/console/time')
-rw-r--r--files/ko/web/api/console/time/index.md67
1 files changed, 24 insertions, 43 deletions
diff --git a/files/ko/web/api/console/time/index.md b/files/ko/web/api/console/time/index.md
index bcb3777ccb..9382db9c3f 100644
--- a/files/ko/web/api/console/time/index.md
+++ b/files/ko/web/api/console/time/index.md
@@ -1,56 +1,37 @@
---
-title: Console.time()
-slug: Web/API/Console/time
+title: console.time()
+slug: Web/API/console/time
+tags:
+ - API
+ - DOM
+ - Debugging
+ - Method
+ - Web Development
+ - web console
+browser-compat: api.console.time
translation_of: Web/API/Console/time
---
-<div>{{APIRef("Console API")}}</div>
+{{APIRef("Console API")}}
-<p>타이머를 시작해 작업이 얼마나 걸리는지 추적할 수 있습니다. 각 타이머에게 고유한 이름을 줄 수 있고, 한 페이지에 최대 10,000개의 타이머를 설정할 수 있습니다. 같은 이름으로 {{domxref("console.timeEnd()")}}를 호출할 때, 브라우저가 밀리초 단위로 경과한 시간을 출력합니다.</p>
+**`console.time()`** 메서드는 타이머를 시작해 작업이 얼마나 걸리는지 추적할 수 있습니다. 각 타이머에게 고유한 이름을 줄 수 있고, 한 페이지에 최대 10,000개의 타이머를 설정할 수 있습니다. 같은 이름으로 {{domxref("console.timeEnd()")}}를 호출할 때, 브라우저가 밀리초 단위로 경과한 시간을 출력합니다.
-<p>자세한 내용과 예제는 {{domxref("console")}} 내의 <a href="/ko/docs/Web/API/console#Timers">타이머</a>를 확인하세요.</p>
+자세한 내용과 예제는 {{domxref("console")}} 문서의 [타이머](/ko/docs/Web/API/console#타이머)를 참고하세요.
-<p>{{AvailableInWorkers}}</p>
+{{AvailableInWorkers}}
-<h2 id="문법">문법</h2>
+## 구문
-<pre class="syntaxbox">console.time(<em>label</em>);
-</pre>
+```js
+console.time(label);
+```
-<h2 id="파라미터">파라미터</h2>
+## 매개변수
-<dl>
- <dt><code>label</code></dt>
- <dd>새 타이머에게 설정할 이름. 타이머를 식별합니다. 같은 이름으로 {{domxref("console.timeEnd()")}}를 호출하면 타이머가 중단되고 콘솔에 시간을 출력합니다.</dd>
-</dl>
+- `label`
+ - : 새 타이머에게 설정할 이름. 타이머를 식별합니다. 같은 이름으로 {{domxref("console.timeEnd()")}}를 호출하면 타이머가 중단되고 콘솔에 시간을 출력합니다.
-<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", "#time", "console.time()")}}</td>
- <td>{{Spec2("Console API")}}</td>
- <td>초기 정의</td>
- </tr>
- </tbody>
-</table>
+## 같이 보기
-<h2 id="브라우저_호환성">브라우저 호환성</h2>
-
-
-
-<p>{{Compat("api.Console.time")}}</p>
-
-<h2 id="함께_보기">함께 보기</h2>
-
-<ul>
- <li>{{domxref("Console.timeEnd()")}}</li>
- <li><a class="external" href="http://www.opera.com/dragonfly/documentation/console/">Opera Dragonfly documentation: Console</a></li>
-</ul>
+- {{domxref("console.timeEnd()")}}
+- {{domxref("console.timeLog()")}}