aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/javascript/reference/errors/invalid_array_length
diff options
context:
space:
mode:
authort7yang <t7yang@gmail.com>2022-01-10 08:38:07 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commit7a9db40025c2f387b4b75b4bd0d32a18a63c0d87 (patch)
tree50feb9ad77553c9b6737807fc5623ff9173d682e /files/zh-tw/web/javascript/reference/errors/invalid_array_length
parentc40612041809fe289aba58aefa170bbe784aba1f (diff)
downloadtranslated-content-7a9db40025c2f387b4b75b4bd0d32a18a63c0d87.tar.gz
translated-content-7a9db40025c2f387b4b75b4bd0d32a18a63c0d87.tar.bz2
translated-content-7a9db40025c2f387b4b75b4bd0d32a18a63c0d87.zip
remove sup tag for zh-TW
Diffstat (limited to 'files/zh-tw/web/javascript/reference/errors/invalid_array_length')
-rw-r--r--files/zh-tw/web/javascript/reference/errors/invalid_array_length/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-tw/web/javascript/reference/errors/invalid_array_length/index.html b/files/zh-tw/web/javascript/reference/errors/invalid_array_length/index.html
index ee2c5f08e4..89f7a02df6 100644
--- a/files/zh-tw/web/javascript/reference/errors/invalid_array_length/index.html
+++ b/files/zh-tw/web/javascript/reference/errors/invalid_array_length/index.html
@@ -22,11 +22,11 @@ RangeError: Invalid array buffer length (Chrome)
<p>一個無效的陣列長度可能發生於以下幾種情形:</p>
<ul>
- <li>建立了一個長度為負或大於等於2<sup>32</sup>的 {{jsxref("Array")}} 或 {{jsxref("ArrayBuffer")}} </li>
- <li>將 {{jsxref("Array.length")}} 屬性設為負值或大於等於 2<sup>32</sup></li>
+ <li>建立了一個長度為負或大於等於2^32的 {{jsxref("Array")}} 或 {{jsxref("ArrayBuffer")}} </li>
+ <li>將 {{jsxref("Array.length")}} 屬性設為負值或大於等於 2^32</li>
</ul>
-<p>為什麼 <code>Array</code>  和 <code>ArrayBuffer</code> 的長度有限?   <code>Array</code> 和 <code>ArrayBuffer</code> 的屬性以一個32位元的非負整數表使,因此僅能儲存 0 到 2<sup>32</sup>-1 的數值。</p>
+<p>為什麼 <code>Array</code>  和 <code>ArrayBuffer</code> 的長度有限?   <code>Array</code> 和 <code>ArrayBuffer</code> 的屬性以一個32位元的非負整數表使,因此僅能儲存 0 到 2^32 - 1 的數值。</p>
<p>If you are creating an <code>Array</code>, using the constructor, you probably want to use the literal notation instead, as the first argument is interpreted as the length of the <code>Array</code>.</p>