aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/bigint
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/bigint')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/bigint/bigint/index.html4
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/bigint/index.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/bigint/bigint/index.html b/files/zh-cn/web/javascript/reference/global_objects/bigint/bigint/index.html
index 7e7a2923f6..cec0e705b2 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/bigint/bigint/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/bigint/bigint/index.html
@@ -19,8 +19,8 @@ translation_of: Web/JavaScript/Reference/Global_Objects/BigInt/BigInt
<dd>被创建的对象的数值。 可以是字符串或整数。</dd>
</dl>
-<div class="blockIndicator note">
-<p><strong>Note</strong>: <code>BigInt()</code> 不与 {{JSxRef("Operators/new", "new")}} 运算符一起使用。</p>
+<div class="note">
+<p><strong>备注:</strong>: <code>BigInt()</code> 不与 {{JSxRef("Operators/new", "new")}} 运算符一起使用。</p>
</div>
<h2 id="例子">例子</h2>
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 9e52874364..1ac067ad98 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
@@ -72,8 +72,8 @@ bigN * -1n
<p><code>/</code> 操作符对于整数的运算也没问题。可是因为这些变量是 <code>BigInt</code> 而不是 <code>BigDecimal</code> ,该操作符结果会向零取整,也就是说不会返回小数部分。</p>
-<div class="blockIndicator warning">
-<p>当使用 <code>BigInt</code> 时,带小数的运算会被取整。</p>
+<div class="warning">
+<p><strong>警告:</strong>当使用 <code>BigInt</code> 时,带小数的运算会被取整。</p>
</div>
<pre class="brush: js">const expected = 4n / 2n;