aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/ko/web/javascript/reference/operators/addition/index.html86
-rw-r--r--files/ko/web/javascript/reference/operators/division/index.html64
-rw-r--r--files/ko/web/javascript/reference/operators/exponentiation/index.html110
-rw-r--r--files/ko/web/javascript/reference/operators/index.html10
-rw-r--r--files/ko/web/javascript/reference/operators/multiplication/index.html63
-rw-r--r--files/ko/web/javascript/reference/operators/remainder/index.html90
-rw-r--r--files/ko/web/javascript/reference/operators/subtraction/index.html56
7 files changed, 384 insertions, 95 deletions
diff --git a/files/ko/web/javascript/reference/operators/addition/index.html b/files/ko/web/javascript/reference/operators/addition/index.html
index 0a624fdd16..0cc793a775 100644
--- a/files/ko/web/javascript/reference/operators/addition/index.html
+++ b/files/ko/web/javascript/reference/operators/addition/index.html
@@ -1,77 +1,71 @@
---
-title: Addition (+)
+title: 더하기 (+)
slug: Web/JavaScript/Reference/Operators/Addition
+tags:
+ - JavaScript
+ - Language feature
+ - Operator
+ - Reference
+browser-compat: javascript.operators.addition
translation_of: Web/JavaScript/Reference/Operators/Addition
---
+
<div>{{jsSidebar("Operators")}}</div>
-<p>증가 연산자<sup>addition operator</sup> (<code>+</code>)는 숫자 또는 여러 문자열의 더합니다.</p>
+<p>더하기 연산자(<code>+</code>)는 숫자 피연산자의 합을 구하거나, 문자열을 서로 연결합니다.</p>
<div>{{EmbedInteractiveExample("pages/js/expressions-addition.html")}}</div>
-<div></div>
-
-
-
-<h2 id="Syntax">Syntax</h2>
+<h2 id="syntax">구문</h2>
-<pre class="syntaxbox notranslate"><strong>Operator:</strong> <var>x</var> + <var>y</var>
-</pre>
+<pre class="brush: js">x + y</pre>
-<h2 id="Examples">Examples</h2>
+<h2 id="examples">예제</h2>
-<h3 id="Numeric_addition">Numeric addition</h3>
+<h3 id="numeric_addition">덧셈</h3>
-<pre class="brush: js notranslate">// Number + Number -&gt; addition
+<pre class="brush: js">
+// Number + Number -&gt; 덧셈
1 + 2 // 3
-
-// Boolean + Number -&gt; addition
+
+// Boolean + Number -&gt; 덧셈
true + 1 // 2
-// Boolean + Boolean -&gt; addition
-false + false // 0
-</pre>
+// Boolean + Boolean -&gt; 덧셈
+false + false // 0</pre>
-<h3 id="String_concatenation">String concatenation</h3>
+<h3 id="string_concatenation">문자열 연결</h3>
-<pre class="brush: js notranslate">// String + String -&gt; concatenation
+<pre class="brush: js">
+// String + String -&gt; 연결
'foo' + 'bar' // "foobar"
-// Number + String -&gt; concatenation
+// Number + String -&gt; 연결
5 + 'foo' // "5foo"
-// String + Boolean -&gt; concatenation
+// String + Boolean -&gt; 연결
'foo' + false // "foofalse"</pre>
-<h2 id="Specifications">Specifications</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Specification</th>
- </tr>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-addition-operator-plus', 'Addition operator')}}</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Browser_compatibility">Browser compatibility</h2>
+<h2 id="specifications">명세</h2>
+{{Specifications}}
+<h2 id="browser_compatibility">브라우저 호환성</h2>
-<p>{{Compat("javascript.operators.addition")}}</p>
+<p>{{Compat}}</p>
-<h2 id="See_also">See also</h2>
+<h2 id="see_also">같이 보기</h2>
<ul>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Subtraction">Subtraction operator</a></li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Division">Division operator</a></li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Multiplication">Multiplication operator</a></li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Remainder">Remainder operator</a></li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Exponentiation">Exponentiation operator</a></li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Increment">Increment operator</a></li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Decrement">Decrement operator</a></li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Unary_negation">Unary negation operator</a></li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Unary_plus">Unary plus operator</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Subtraction">빼기 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Division">나누기 연산자</a></li>
+ <li><a
+ href="/ko/docs/Web/JavaScript/Reference/Operators/Multiplication">곱하기 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Remainder">나머지 연산자</a></li>
+ <li><a
+ href="/ko/docs/Web/JavaScript/Reference/Operators/Exponentiation">거듭제곱 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Increment">증가 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Decrement">감소 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Unary_negation">단항 부정 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Unary_plus">단항 플러스 연산자</a></li>
</ul>
diff --git a/files/ko/web/javascript/reference/operators/division/index.html b/files/ko/web/javascript/reference/operators/division/index.html
new file mode 100644
index 0000000000..69e5889544
--- /dev/null
+++ b/files/ko/web/javascript/reference/operators/division/index.html
@@ -0,0 +1,64 @@
+---
+title: 나누기 (/)
+slug: Web/JavaScript/Reference/Operators/Division
+tags:
+ - JavaScript
+ - Language feature
+ - Operator
+ - Reference
+browser-compat: javascript.operators.division
+translation_of: Web/JavaScript/Reference/Operators/Division
+---
+
+<div>{{jsSidebar("Operators")}}</div>
+
+<p>나누기 연산자(<code>/</code>)는 왼쪽 피연산자를 피제수, 오른쪽 피연산자를 제수로 하여 몫을 구합니다.</p>
+
+<div>{{EmbedInteractiveExample("pages/js/expressions-division.html")}}</div>
+
+<h2 id="syntax">구문</h2>
+
+<pre class="brush: js">x / y</pre>
+
+<h2 id="examples">예제</h2>
+
+<h3 id="basic_division">기본 나눗셈</h3>
+
+<pre class="brush: js">
+1 / 2 // 0.5
+
+Math.floor(3 / 2) // 1
+
+1.0 / 2.0 // 0.5
+</pre>
+
+<h3 id="division_by_zero">0으로 나누기</h3>
+
+<pre class="brush: js">
+2.0 / 0 // Infinity
+
+2.0 / 0.0 // Infinity, 0.0 === 0이기 때문
+
+2.0 / -0.0 // -Infinity</pre>
+
+<h2 id="specifications">명세</h2>
+
+{{Specifications}}
+
+<h2 id="browser_compatibility">브라우저 호환성</h2>
+
+<p>{{Compat}}</p>
+
+<h2 id="see_also">같이 보기</h2>
+
+<ul>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Addition">더하기 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Subtraction">빼기 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Multiplication">곱하기 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Remainder">나머지 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Exponentiation">거듭제곱 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Increment">증가 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Decrement">감소 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Unary_negation">단항 부정 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Unary_plus">단항 플러스 연산자</a></li>
+</ul>
diff --git a/files/ko/web/javascript/reference/operators/exponentiation/index.html b/files/ko/web/javascript/reference/operators/exponentiation/index.html
new file mode 100644
index 0000000000..aaa729c10b
--- /dev/null
+++ b/files/ko/web/javascript/reference/operators/exponentiation/index.html
@@ -0,0 +1,110 @@
+---
+title: 거듭제곱 (**)
+slug: Web/JavaScript/Reference/Operators/Exponentiation
+tags:
+ - JavaScript
+ - Language feature
+ - Operator
+ - Reference
+browser-compat: javascript.operators.exponentiation
+translation_of: Web/JavaScript/Reference/Operators/Exponentiation
+---
+
+<div>{{jsSidebar("Operators")}}</div>
+
+<p>
+ 거듭제곱 연산자(<code>**</code>)는 왼쪽 피연산자를 밑, 오른쪽 피연산자를 지수로 한 값을 구합니다.
+ {{jsxref("BigInt")}}도 피연산자로 받을 수 있다는 점을 제외하면 {{jsxref("Math.pow()")}}와 같습니다.
+</p>
+
+<div>{{EmbedInteractiveExample("pages/js/expressions-exponentiation.html")}}</div>
+
+<h2 id="syntax">구문</h2>
+
+<pre class="brush: js">x ** y</pre>
+
+<h2 id="description">설명</h2>
+
+<p>
+ 거듭제곱 연산자는 우측 결합성을 가집니다. 따라서 <code><var>a</var> ** <var>b</var> ** <var>c</var></code
+ >는 <code><var>a</var> ** (<var>b</var> ** <var>c</var>)</code>와 같습니다.
+</p>
+
+<p>
+ PHP, Python 등 거듭제곱 연산자(<code>**</code>)를 포함하는 언어의 대부분은 거듭제곱 연산자가 단항 연산자(단항
+ <code>+</code>, <code>-</code> 등)보다 높은 우선순위를 가집니다. 그러나 Bash처럼 단항 연산자가 더 높은 우선순위를
+ 가지는 예외의 언어도 있습니다.
+</p>
+
+<p>
+ 반면 JavaScript에서는 모호한 거듭제곱 표현식을 작성하는 것이 불가능합니다. 단항
+ 연산자(<code>+/-/~/!/delete/void/typeof</code>)를 밑 피연산자의 바로 앞에 사용할 수 없으며, 사용하려고 하면
+ {{jsxref("SyntaxError")}}가 발생합니다.
+</p>
+
+<pre class="brush: js">
+-2 ** 2;
+// Bash에서는 4, 다른 언어에서는 -4
+// 모호한 식이므로 JavaScript에서 유효하지 않음
+
+-(2 ** 2);
+// JavaScript에서 -4, 저자의 의도가 명확함
+</pre>
+
+<p>
+ 참고로 어떤 언어에선 캐럿 기호 <kbd>^</kbd>를 거듭제곱에 사용하지만, JavaScript에서 캐럿은
+ <a href="/ko/docs/Web/JavaScript/Reference/Operators/Bitwise_XOR">비트 XOR 연산자</a>에서
+ 사용합니다.
+</p>
+
+<h2 id="examples">예제</h2>
+
+<h3 id="basic_exponentiation">기본 거듭제곱</h3>
+
+<pre class="brush: js">
+2 ** 3 // 8
+3 ** 2 // 9
+3 ** 2.5 // 15.588457268119896
+10 ** -1 // 0.1
+NaN ** 2 // NaN
+</pre>
+
+<h3 id="associativity">연관성</h3>
+
+<pre class="brush: js">
+2 ** 3 ** 2 // 512
+2 ** (3 ** 2) // 512
+(2 ** 3) ** 2 // 64
+</pre>
+
+<h3 id="usage_with_unary_operators">단항 연산자와 사용하기</h3>
+
+<p>거듭제곱 결과의 부호를 반전하려면,</p>
+
+<pre class="brush: js">-(2 ** 2) // -4</pre>
+
+<p>거듭제곱 표현식의 밑에 음수를 제공하려면,</p>
+
+<pre class="brush: js">(-2) ** 2 // 4</pre>
+
+<h2 id="specifications">명세</h2>
+
+{{Specifications}}
+
+<h2 id="browser_compatibility">브라우저 호환성</h2>
+
+<p>{{Compat}}</p>
+
+<h2 id="see_also">같이 보기</h2>
+
+<ul>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Addition">더하기 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Subtraction">빼기 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Division">나누기 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Multiplication">곱하기 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Remainder">나머지 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Increment">증가 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Decrement">감소 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Unary_negation">단항 부정 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Unary_plus">단항 플러스 연산자</a></li>
+</ul>
diff --git a/files/ko/web/javascript/reference/operators/index.html b/files/ko/web/javascript/reference/operators/index.html
index 9605b84278..1ddd778228 100644
--- a/files/ko/web/javascript/reference/operators/index.html
+++ b/files/ko/web/javascript/reference/operators/index.html
@@ -113,20 +113,20 @@ translation_of: Web/JavaScript/Reference/Operators
<dl>
<dt>{{JSxRef("Operators/Addition", "+")}}</dt>
- <dd>덧셈 연산자.</dd>
+ <dd>더하기 연산자.</dd>
<dt>{{JSxRef("Operators/Subtraction", "-")}}</dt>
- <dd>뺄셈 연산자.</dd>
+ <dd>빼기 연산자.</dd>
<dt>{{JSxRef("Operators/Division", "/")}}</dt>
- <dd>나눗셈 연산자.</dd>
+ <dd>나누기 연산자.</dd>
<dt>{{JSxRef("Operators/Multiplication", "*")}}</dt>
- <dd>곱셈 연산자.</dd>
+ <dd>곱하기 연산자.</dd>
<dt>{{JSxRef("Operators/Remainder", "%")}}</dt>
<dd>나머지 연산자.</dd>
</dl>
<dl>
<dt>{{JSxRef("Operators/Exponentiation", "**")}}</dt>
- <dd>지수 연산자.</dd>
+ <dd>거듭제곱 연산자.</dd>
</dl>
<h3 id="관계_연산자">관계 연산자</h3>
diff --git a/files/ko/web/javascript/reference/operators/multiplication/index.html b/files/ko/web/javascript/reference/operators/multiplication/index.html
new file mode 100644
index 0000000000..79738fb1f8
--- /dev/null
+++ b/files/ko/web/javascript/reference/operators/multiplication/index.html
@@ -0,0 +1,63 @@
+---
+title: 곱하기 (*)
+slug: Web/JavaScript/Reference/Operators/Multiplication
+tags:
+ - JavaScript
+ - Language feature
+ - Operator
+ - Reference
+browser-compat: javascript.operators.multiplication
+translation_of: Web/JavaScript/Reference/Operators/Multiplication
+---
+
+<div>{{jsSidebar("Operators")}}</div>
+
+<p>곱하기 연산자(<code>*</code>)는 두 연산자의 곱을 구합니다.</p>
+
+<div>{{EmbedInteractiveExample("pages/js/expressions-multiplication.html")}}</div>
+
+<h2 id="syntax">구문</h2>
+
+<pre class="brush: js">x * y</pre>
+
+<h2 id="examples">예제</h2>
+
+<h3 id="multiplication_using_numbers">곱셈</h3>
+
+<pre class="brush: js">
+ 2 * 2 // 4
+-2 * 2 // -4
+</pre>
+
+<h3 id="multiplication_with_Infinity">Infinity 곱하기</h3>
+
+<pre class="brush: js">
+Infinity * 0 // NaN
+Infinity * Infinity // Infinity
+</pre>
+
+<h3 id="multiplication_with_non-numbers">숫자가 아닌 경우</h3>
+
+<pre class="brush: js">'foo' * 2 // NaN</pre>
+
+<h2 id="specifications">명세</h2>
+
+{{Specifications}}
+
+<h2 id="browser_compatibility">브라우저 호환성</h2>
+
+<p>{{Compat}}</p>
+
+<h2 id="see_also">같이 보기</h2>
+
+<ul>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Addition">더하기 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Subtraction">빼기 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Division">나누기 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Remainder">나머지 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Exponentiation">거듭제곱 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Increment">증가 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Decrement">감소 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Unary_negation">단항 부정 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Unary_plus">단항 플러스 연산자</a></li>
+</ul>
diff --git a/files/ko/web/javascript/reference/operators/remainder/index.html b/files/ko/web/javascript/reference/operators/remainder/index.html
index beeb0033a3..e1a4b20312 100644
--- a/files/ko/web/javascript/reference/operators/remainder/index.html
+++ b/files/ko/web/javascript/reference/operators/remainder/index.html
@@ -1,73 +1,75 @@
---
-title: 나머지 연산자 (%)
+title: 나머지 (%)
slug: Web/JavaScript/Reference/Operators/Remainder
+tags:
+- JavaScript
+- Language feature
+- Operator
+- Reference
translation_of: Web/JavaScript/Reference/Operators/Remainder
+browser-compat: javascript.operators.remainder
---
<div>{{jsSidebar("Operators")}}</div>
-<p>나머지 연산자(<code>%</code>)는 피제수가 제수에 의해 나누어진 후, 그 나머지를 반환합니다. 항상 피제수의 부호를 따릅니다.</p>
+<p>나머지 연산자(<code>%</code>)는 왼쪽 피연산자를 오른쪽 피연산자로 나눴을 때의 나머지를 구합니다. 부호는 항상 왼쪽 피연산자의 부호를 따릅니다.</p>
<div>{{EmbedInteractiveExample("pages/js/expressions-remainder.html")}}</div>
-<div></div>
+<h2 id="syntax">구문</h2>
+<pre class="brush: js">x % y</pre>
+<h2 id="examples">예제</h2>
-<h2 id="문법">문법</h2>
+<h3 id="remainder_with_positive_dividend">양의 피제수의 나머지</h3>
-<pre class="syntaxbox notranslate"><strong>Operator:</strong> <var>var1</var> % <var>var2</var>
+<pre class="brush: js">
+ 12 % 5 // 2
+ 1 % -2 // 1
+ 1 % 2 // 1
+ 2 % 3 // 2
+5.5 % 2 // 1.5
</pre>
-<h2 id="예시">예시</h2>
+<h3 id="remainder_with_negative_dividend">음의 피제수의 나머지</h3>
-<h3 id="피제수의_나머지">(+)피제수의 나머지</h3>
-
-<pre class="brush: js notranslate"> 12 % 5 // 2
- 1 % -2 // 1
- 1 % 2 // 1
- 2 % 3 // 2
-5.5 % 2 // 1.5
-</pre>
-
-<h3 id="-피제수의_나머지">(-)피제수의 나머지</h3>
-
-<pre class="brush: js notranslate">-12 % 5 // -2
+<pre class="brush: js">
+-12 % 5 // -2
-1 % 2 // -1
--4 % 2 // -0</pre>
+-4 % 2 // -0
+</pre>
-<h3 id="NaN의_나머지">NaN의 나머지</h3>
+<h3 id="remainder_with_nan">NaN의 나머지</h3>
-<pre class="brush: js notranslate">NaN % 2 // NaN</pre>
+<pre class="brush: js">NaN % 2 // NaN</pre>
-<h2 id="Specifications">Specifications</h2>
+<h3 id="Remainder_with_Infinity">Infinity의 나머지</h3>
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Specification</th>
- </tr>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-multiplicative-operators', 'Remainder operator')}}</td>
- </tr>
- </tbody>
-</table>
+<pre class="brush: js">
+Infinity % 2 // NaN
+Infinity % 0 // NaN
+Infinity % Infinity // NaN
+</pre>
-<h2 id="Browser_compatibility">Browser compatibility</h2>
+<h2 id="specifications">명세</h2>
+{{Specifications}}
+<h2 id="browser_compatibility">브라우저 호환성</h2>
-<p>{{Compat("javascript.operators.remainder")}}</p>
+<p>{{Compat}}</p>
-<h2 id="See_also">See also</h2>
+<h2 id="see_also">같이 보기</h2>
<ul>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Addition">Addition operator</a></li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Subtraction">Subtraction operator</a></li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Division">Division operator</a></li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Multiplication">Multiplication operator</a></li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Exponentiation">Exponentiation operator</a></li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Increment">Increment operator</a></li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Decrement">Decrement operator</a></li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Unary_negation">Unary negation operator</a></li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Unary_plus">Unary plus operator</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Addition">더하기 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Subtraction">빼기 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Division">나누기 연산자</a></li>
+ <li><a
+ href="/ko/docs/Web/JavaScript/Reference/Operators/Multiplication">곱하기 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Exponentiation">거듭제곱 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Increment">증가 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Decrement">감소 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Unary_negation">단항 부정 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Unary_plus">단항 플러스 연산자</a></li>
</ul>
diff --git a/files/ko/web/javascript/reference/operators/subtraction/index.html b/files/ko/web/javascript/reference/operators/subtraction/index.html
new file mode 100644
index 0000000000..1be243033d
--- /dev/null
+++ b/files/ko/web/javascript/reference/operators/subtraction/index.html
@@ -0,0 +1,56 @@
+---
+title: 빼기 (-)
+slug: Web/JavaScript/Reference/Operators/Subtraction
+tags:
+ - JavaScript
+ - Language feature
+ - Operator
+ - Reference
+browser-compat: javascript.operators.subtraction
+translation_of: Web/JavaScript/Reference/Operators/Subtraction
+---
+
+<div>{{jsSidebar("Operators")}}</div>
+
+<p>빼기 연산자(<code>-</code>)는 두 연산자의 차이를 구합니다.</p>
+
+<div>{{EmbedInteractiveExample("pages/js/expressions-subtraction.html")}}</div>
+
+<h2 id="syntax">구문</h2>
+
+<pre class="brush: js">x - y</pre>
+
+<h2 id="examples">예제</h2>
+
+<h3 id="subtraction_with_numbers">뺄셈</h3>
+
+<pre class="brush: js">
+5 - 3 // 2
+3 - 5 // -2
+</pre>
+
+<h3 id="subtraction_with_non-numbers">숫자가 아닌 경우</h3>
+
+<pre class="brush: js">'foo' - 3 // NaN</pre>
+
+<h2 id="specifications">명세</h2>
+
+{{Specifications}}
+
+<h2 id="browser_compatibility">브라우저 호환성</h2>
+
+<p>{{Compat}}</p>
+
+<h2 id="see_also">같이 보기</h2>
+
+<ul>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Addition">더하기 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Division">나누기 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Multiplication">곱하기 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Remainder">나머지 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Exponentiation">거듭제곱 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Increment">증가 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Decrement">감소 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Unary_negation">단항 부정 연산자</a></li>
+ <li><a href="/ko/docs/Web/JavaScript/Reference/Operators/Unary_plus">단항 플러스 연산자</a></li>
+</ul>