aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/bigint/asintn/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/bigint/asintn/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/bigint/asintn/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/bigint/asintn/index.html b/files/zh-cn/web/javascript/reference/global_objects/bigint/asintn/index.html
index cab753a464..da27bcf501 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/bigint/asintn/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/bigint/asintn/index.html
@@ -5,7 +5,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/BigInt/asIntN
---
<div>{{JSRef}}</div>
-<p><strong><code>BigInt.asIntN</code></strong> 静态方法将 <code>BigInt</code> 值转换为一个 -<code>2<sup>width-1</sup></code> 与 <code>2<sup>width-1</sup>-1</code> 之间的有符号整数。</p>
+<p><strong><code>BigInt.asIntN</code></strong> 静态方法将 <code>BigInt</code> 值转换为一个 -<code>2^(width-1)</code> 与 <code>2^(width-1)-1</code> 之间的有符号整数。</p>
<div>{{EmbedInteractiveExample("pages/js/bigint-asintn.html")}}</div>
@@ -26,7 +26,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/BigInt/asIntN
<h3 id="返回值">返回值</h3>
-<p><code>bigint</code> 模(modulo) 2<sup><code>width</code></sup> 作为有符号整数的值。</p>
+<p><code>bigint</code> 模(modulo) <code>2^width</code> 作为有符号整数的值。</p>
<h2 id="例子">例子</h2>