From 3d9227f8d11cf28c9999054afa2d63b83ef38b3d Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Sun, 26 Sep 2021 00:07:38 +0900 Subject: Markdown へ変換するためにファイル名を変更 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../operators/multiplication_assignment/index.html | 61 ---------------------- .../operators/multiplication_assignment/index.md | 61 ++++++++++++++++++++++ 2 files changed, 61 insertions(+), 61 deletions(-) delete mode 100644 files/ja/web/javascript/reference/operators/multiplication_assignment/index.html create mode 100644 files/ja/web/javascript/reference/operators/multiplication_assignment/index.md (limited to 'files/ja/web/javascript/reference/operators/multiplication_assignment') diff --git a/files/ja/web/javascript/reference/operators/multiplication_assignment/index.html b/files/ja/web/javascript/reference/operators/multiplication_assignment/index.html deleted file mode 100644 index 557ce809ee..0000000000 --- a/files/ja/web/javascript/reference/operators/multiplication_assignment/index.html +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: 乗算代入 (*=) -slug: Web/JavaScript/Reference/Operators/Multiplication_assignment -tags: - - Assignment operator - - JavaScript - - Language feature - - Operator - - Reference -translation_of: Web/JavaScript/Reference/Operators/Multiplication_assignment ---- -
{{jsSidebar("Operators")}}
- -

乗算代入演算子 (*=) は、変数に右のオペランドの値を乗算し、結果を変数に代入します。

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

構文

- -
Operator: x *= y
-Meaning:  x  = x * y
- -

- -

乗算代入の使用

- -
// 次の変数を想定
-//  bar = 5
-
-bar *= 2     // 10
-bar *= 'foo' // NaN
- -

仕様

- - - - - - - - - - -
仕様
{{SpecName('ESDraft', '#sec-assignment-operators', 'Assignment operators')}}
- -

ブラウザーの互換性

- - - -

{{Compat("javascript.operators.multiplication_assignment")}}

- -

関連項目

- - diff --git a/files/ja/web/javascript/reference/operators/multiplication_assignment/index.md b/files/ja/web/javascript/reference/operators/multiplication_assignment/index.md new file mode 100644 index 0000000000..973bb7c74b --- /dev/null +++ b/files/ja/web/javascript/reference/operators/multiplication_assignment/index.md @@ -0,0 +1,61 @@ +--- +title: 乗算代入 (*=) +slug: Web/JavaScript/Reference/Operators/Multiplication_assignment +tags: + - 代入演算子 + - JavaScript + - 言語機能 + - 演算子 + - Reference +translation_of: Web/JavaScript/Reference/Operators/Multiplication_assignment +--- +{{jsSidebar("Operators")}} + +乗算代入演算子 (`*=`) は、変数に右のオペランドの値を乗算し、結果を変数に代入します。 + +{{EmbedInteractiveExample("pages/js/expressions-multiplication-assignment.html")}} + +
+ + + +## 構文 + +
Operator: x *= y
+Meaning:  x  = x * y
+ +## 例 + +

乗算代入の使用

+ +
// 次の変数を想定
+//  bar = 5
+
+bar *= 2     // 10
+bar *= 'foo' // NaN
+ +

仕様

+ + + + + + + + + + +
仕様
{{SpecName('ESDraft', '#sec-assignment-operators', 'Assignment operators')}}
+ +

ブラウザーの互換性

+ + + +{{Compat("javascript.operators.multiplication_assignment")}} + +

関連項目

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