aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/javascript/reference/operators/exponentiation_assignment/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/javascript/reference/operators/exponentiation_assignment/index.md')
-rw-r--r--files/ja/web/javascript/reference/operators/exponentiation_assignment/index.md47
1 files changed, 17 insertions, 30 deletions
diff --git a/files/ja/web/javascript/reference/operators/exponentiation_assignment/index.md b/files/ja/web/javascript/reference/operators/exponentiation_assignment/index.md
index 8641cd8dab..c2675e3791 100644
--- a/files/ja/web/javascript/reference/operators/exponentiation_assignment/index.md
+++ b/files/ja/web/javascript/reference/operators/exponentiation_assignment/index.md
@@ -7,55 +7,42 @@ tags:
- 言語機能
- 演算子
- Reference
+browser-compat: javascript.operators.exponentiation_assignment
translation_of: Web/JavaScript/Reference/Operators/Exponentiation_assignment
---
{{jsSidebar("Operators")}}
-べき乗代入演算子 (`**=`) は、変数の値を右辺のオペランドでべき乗します。
+べき乗代入演算子 (`**=`) は、変数の値を右オペランドでべき乗します。
{{EmbedInteractiveExample("pages/js/expressions-exponentiation-assignment.html")}}
-<div></div>
-
-
-
## 構文
-<pre class="syntaxbox notranslate"><strong>Operator:</strong> x **= y
-<strong>Meaning:</strong> x = x ** y</pre>
+```js
+x **= y // x = x ** y
+```
## 例
-<h3 id="べき乗代入の仕様">べき乗代入の仕様</h3>
+### べき乗代入の仕様
-<pre class="brush: js notranslate">// 次の変数を想定
+```js
+// 次の変数を想定
// bar = 5
bar **= 2 // 25
-bar **= 'foo' // NaN</pre>
-
-<h2 id="仕様">仕様</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">仕様</th>
- </tr>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-assignment-operators', 'Assignment operators')}}</td>
- </tr>
- </tbody>
-</table>
+bar **= 'foo' // NaN
+```
-<h2 id="ブラウザー実装状況">ブラウザー実装状況</h2>
+## 仕様書
+{{Specifications}}
+## ブラウザーの互換性
-{{Compat("javascript.operators.exponentiation_assignment")}}
+{{Compat}}
-<h2 id="関連項目">関連項目</h2>
+## 関連情報
-<ul>
- <li><a href="/ja/docs/Web/JavaScript/Guide/Expressions_and_Operators#Assignment">Assignment operators in the JS guide</a></li>
- <li><a href="/ja/docs/Web/JavaScript/Reference/Operators/Exponentiation">Exponentiation operator</a></li>
-</ul>
+- [JavaScript ガイドの代入演算子](/ja/docs/Web/JavaScript/Guide/Expressions_and_Operators#assignment)
+- [べき乗演算子](/ja/docs/Web/JavaScript/Reference/Operators/Exponentiation)