aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/javascript/reference/global_objects/bigint/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-tw/web/javascript/reference/global_objects/bigint/index.html')
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/bigint/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/files/zh-tw/web/javascript/reference/global_objects/bigint/index.html b/files/zh-tw/web/javascript/reference/global_objects/bigint/index.html
index 705a85e255..35ccd60a0b 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/bigint/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/bigint/index.html
@@ -5,7 +5,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/BigInt
---
<p>{{JSRef}}{{SeeCompatTable}}</p>
-<p><code>BigInt</code> 是一個內建的物件,提供了表示大於2<sup>53</sup>的整數的功能 (2<sup>53</sup>是JavaScript原生的{{JSxRef("Number")}}能夠表示的最大值)</p>
+<p><code>BigInt</code> 是一個內建的物件,提供了表示大於2^53的整數的功能 (2^53是JavaScript原生的{{JSxRef("Number")}}能夠表示的最大值)</p>
<h2 id="語法">語法</h2>
@@ -189,9 +189,9 @@ Boolean(12n)
<dl>
<dt>{{JSxRef("BigInt.asIntN()")}}</dt>
- <dd>Wraps a BigInt between -2<sup>width-1</sup> and 2<sup>width-1</sup>-1</dd>
+ <dd>Clamps a BigInt value to a signed integer value, and returns that value.</dd>
<dt>{{JSxRef("BigInt.asUintN()")}}</dt>
- <dd>Wraps a BigInt between 0 and 2<sup>width</sup>-1</dd>
+ <dd>Clamps a BigInt value to an unsigned integer value, and returns that value.</dd>
</dl>
<h2 id="屬性">屬性</h2>
@@ -213,7 +213,7 @@ Boolean(12n)
<h3 id="轉型">轉型</h3>
-<p>因為在 {{JSxRef("Global_Objects/Number", "Number")}} 和 <code>BigInt</code> 之間轉換可能造成精度遺失,建議當數值會超過2<sup>53</sup>時只使用 <code>BigInt</code> ,而不要在兩者之間進行轉換。</p>
+<p>因為在 {{JSxRef("Global_Objects/Number", "Number")}} 和 <code>BigInt</code> 之間轉換可能造成精度遺失,建議當數值會超過2^53時只使用 <code>BigInt</code> ,而不要在兩者之間進行轉換。</p>
<h3 id="加密">加密</h3>