aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/javascript/reference/global_objects/math/tan
diff options
context:
space:
mode:
authorJongha Kim <kim.jongha@gmail.com>2021-07-04 21:44:14 +0900
committerGitHub <noreply@github.com>2021-07-04 21:44:14 +0900
commit7819d811c4afda0780bdfb8f453cf6f367203ccd (patch)
treecdc07e253c6d5908bc8d0bb99a02bfb943b2ac12 /files/ko/web/javascript/reference/global_objects/math/tan
parent5b86e40da30a9db006a06cb1deb703d1bd08b03c (diff)
downloadtranslated-content-7819d811c4afda0780bdfb8f453cf6f367203ccd.tar.gz
translated-content-7819d811c4afda0780bdfb8f453cf6f367203ccd.tar.bz2
translated-content-7819d811c4afda0780bdfb8f453cf6f367203ccd.zip
[ko] fix Javascript Math.tan(), Math.trunc() (#1302)
* Javascript Math.tan(), Math.trunc() en-us와 동기화 * 리뷰 사항 반영
Diffstat (limited to 'files/ko/web/javascript/reference/global_objects/math/tan')
-rw-r--r--files/ko/web/javascript/reference/global_objects/math/tan/index.html77
1 files changed, 24 insertions, 53 deletions
diff --git a/files/ko/web/javascript/reference/global_objects/math/tan/index.html b/files/ko/web/javascript/reference/global_objects/math/tan/index.html
index 721f23db7a..cdd6ae98e3 100644
--- a/files/ko/web/javascript/reference/global_objects/math/tan/index.html
+++ b/files/ko/web/javascript/reference/global_objects/math/tan/index.html
@@ -2,11 +2,12 @@
title: Math.tan()
slug: Web/JavaScript/Reference/Global_Objects/Math/tan
tags:
- - 레퍼런스
- - 메소드
- - 수학
- - 자바스크립트
+ - JavaScript
+ - Math
+ - Method
+ - Reference
translation_of: Web/JavaScript/Reference/Global_Objects/Math/tan
+browser-compat: javascript.builtins.Math.tan
---
<div>{{JSRef}}</div>
@@ -14,32 +15,30 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math/tan
<div>{{EmbedInteractiveExample("pages/js/math-tan.html")}}</div>
+<h2 id="Syntax">문법</h2>
+<pre class="brush: js">Math.tan(x)</pre>
-<h2 id="신텍스">신텍스</h2>
-
-<pre class="syntaxbox"><code>Math.tan(<var>x</var>)</code></pre>
-
-<h3 id="Parameters">Parameters</h3>
+<h3 id="Parameters">매개변수</h3>
<dl>
- <dt><code>x</code></dt>
- <dd>라디안 각도 </dd>
+ <dt><code><var>x</var></code></dt>
+ <dd>라디안 각도를 표현한 수.</dd>
</dl>
-<h3 id="반환_값">반환 값</h3>
+<h3 id="Return_value">반환 값</h3>
<p>주어진 수의 탄젠트 값</p>
-<h2 id="설명">설명</h2>
+<h2 id="Description">설명</h2>
-<p><code>Math.tan()</code> 메소드는 각도의 탄젠트 값을 수로 반환합니다.</p>
+<p><code>Math.tan()</code> 메서드는 각도의 탄젠트 값을 표현하는 수를 반환합니다.</p>
<p><code>tan()</code>은 <code>Math</code>의 정적 메서드이므로 사용자가 만든 <code>Math</code> 객체의 메서드가 아닌 항상 <code>Math.tan()</code>으로 사용합니다 (<code>Math</code> 는 생성자가 아닙니다).</p>
-<h2 id="예">예</h2>
+<h2 id="Examples">예제</h2>
-<h3 id="Using_Math.tan()">Using <code>Math.tan()</code></h3>
+<h3 id="Using_Math.tan()"><code>Math.tan()</code>사용하기</h3>
<pre class="brush: js">Math.tan(1); // 1.5574077246549023
</pre>
@@ -52,43 +51,15 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math/tan
}
</pre>
-<h2 id="Specifications">Specifications</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Specification</th>
- <th scope="col">Status</th>
- <th scope="col">Comment</th>
- </tr>
- <tr>
- <td>{{SpecName('ES1')}}</td>
- <td>{{Spec2('ES1')}}</td>
- <td>Initial definition. Implemented in JavaScript 1.0.</td>
- </tr>
- <tr>
- <td>{{SpecName('ES5.1', '#sec-15.8.2.18', 'Math.tan')}}</td>
- <td>{{Spec2('ES5.1')}}</td>
- <td> </td>
- </tr>
- <tr>
- <td>{{SpecName('ES6', '#sec-math.tan', 'Math.tan')}}</td>
- <td>{{Spec2('ES6')}}</td>
- <td> </td>
- </tr>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-math.tan', 'Math.tan')}}</td>
- <td>{{Spec2('ESDraft')}}</td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="브라우저_호환성">브라우저 호환성</h2>
-
-<p>{{Compat("javascript.builtins.Math.tan")}}</p>
-
-<h2 id="함께_보기">함께 보기</h2>
+<h2 id="Specifications">명세</h2>
+
+{{Specifications}}
+
+<h2 id="Browser_compatibility">브라우저 호환성</h2>
+
+<p>{{Compat}}</p>
+
+<h2 id="See_also">같이 보기</h2>
<ul>
<li>{{jsxref("Math.acos()")}}</li>