From 187d4eb1e4784a944d28e22371ea08f39b538b27 Mon Sep 17 00:00:00 2001 From: alattalatta Date: Thu, 15 Jul 2021 14:44:07 +0900 Subject: Add/update arithmetic operators (#1329) * Update addition operator * Add subtraction operator * Add division operator * Add multiplication operator * Update remainder operator * Add exponentiation operator * Update operator names * Update link to bitwise XOR operator * Translate "Operator:" of syntax boxes * Sync with English --- .../reference/operators/multiplication/index.html | 63 ++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 files/ko/web/javascript/reference/operators/multiplication/index.html (limited to 'files/ko/web/javascript/reference/operators/multiplication') 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 +--- + +
{{jsSidebar("Operators")}}
+ +

곱하기 연산자(*)는 두 연산자의 곱을 구합니다.

+ +
{{EmbedInteractiveExample("pages/js/expressions-multiplication.html")}}
+ +

구문

+ +
x * y
+ +

예제

+ +

곱셈

+ +
+ 2 * 2     // 4
+-2 * 2     // -4
+
+ +

Infinity 곱하기

+ +
+Infinity * 0         // NaN
+Infinity * Infinity  // Infinity
+
+ +

숫자가 아닌 경우

+ +
'foo' * 2 // NaN
+ +

명세

+ +{{Specifications}} + +

브라우저 호환성

+ +

{{Compat}}

+ +

같이 보기

+ + -- cgit v1.2.3-54-g00ecf