diff options
Diffstat (limited to 'files/ja/web/javascript/reference/operators/subtraction_assignment')
-rw-r--r-- | files/ja/web/javascript/reference/operators/subtraction_assignment/index.md (renamed from files/ja/web/javascript/reference/operators/subtraction_assignment/index.html) | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/files/ja/web/javascript/reference/operators/subtraction_assignment/index.html b/files/ja/web/javascript/reference/operators/subtraction_assignment/index.md index f44dbc8232..fa5c3b591a 100644 --- a/files/ja/web/javascript/reference/operators/subtraction_assignment/index.html +++ b/files/ja/web/javascript/reference/operators/subtraction_assignment/index.md @@ -2,29 +2,29 @@ title: 減算代入 (-=) slug: Web/JavaScript/Reference/Operators/Subtraction_assignment tags: - - Assignment operator + - 代入演算子 - JavaScript - - Language feature - - Operator + - 言語機能 + - 演算子 - Reference translation_of: Web/JavaScript/Reference/Operators/Subtraction_assignment --- -<div>{{jsSidebar("Operators")}}</div> +{{jsSidebar("Operators")}} -<p>減算代入演算子 (<code>-=</code>) は、変数から右辺のオペランドの値を減算し、結果を変数に代入します。</p> +減算代入演算子 (`-=`) は、変数から右辺のオペランドの値を減算し、結果を変数に代入します。 -<div>{{EmbedInteractiveExample("pages/js/expressions-subtraction-assignment.html")}}</div> +{{EmbedInteractiveExample("pages/js/expressions-subtraction-assignment.html")}} <div></div> -<h2 id="構文">構文</h2> +## 構文 <pre class="syntaxbox notranslate"><strong>Operator:</strong> x -= y <strong>Meaning:</strong> x = x - y</pre> -<h2 id="例">例</h2> +## 例 <h3 id="減算代入の使用">減算代入の使用</h3> @@ -51,7 +51,7 @@ bar -= 'foo' // NaN</pre> -<p>{{Compat("javascript.operators.subtraction_assignment")}}</p> +{{Compat("javascript.operators.subtraction_assignment")}} <h2 id="関連項目">関連項目</h2> |