aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects
diff options
context:
space:
mode:
authorBryan Lee <doslby@gmail.com>2022-03-01 21:00:39 +0800
committerGitHub <noreply@github.com>2022-03-01 21:00:39 +0800
commit77ca89ea00d2801534035be342012d08e1f12d49 (patch)
tree00c0a594e112970615f2577090a372dee012bfe2 /files/zh-cn/web/javascript/reference/global_objects
parent85862338246c077f3dc4712741f7bf32a684182c (diff)
downloadtranslated-content-77ca89ea00d2801534035be342012d08e1f12d49.tar.gz
translated-content-77ca89ea00d2801534035be342012d08e1f12d49.tar.bz2
translated-content-77ca89ea00d2801534035be342012d08e1f12d49.zip
update BigInt (#4327)
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/bigint/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/bigint/index.html b/files/zh-cn/web/javascript/reference/global_objects/bigint/index.html
index 1ac067ad98..552ecddc3f 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/bigint/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/bigint/index.html
@@ -12,7 +12,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/BigInt
<h2 id="描述">描述</h2>
-<p>可以用在一个整数字面量后面加 <code>n</code> 的方式定义一个 <code>BigInt</code> ,如:<code>10n</code>,或者调用函数<code>BigInt()</code>。</p>
+<p>可以用在一个整数字面量后面加 <code>n</code> 的方式定义一个 <code>BigInt</code> ,如:<code>10n</code>,或者调用函数 <code>BigInt()</code>(但不包含 <code>new</code> 运算符)并传递一个整数值或字符串值。</p>
<pre class="brush: js"><code>const theBiggestInt = 9007199254740991n;