aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/number/isfinite
diff options
context:
space:
mode:
authorIrvin <irvinfly@gmail.com>2022-02-16 02:02:49 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commit01b0e12ba27b5069248fd09235e9a7143915ee30 (patch)
tree0e9edf538dc3fa3331e1dbb79239b58186765f86 /files/zh-cn/web/javascript/reference/global_objects/number/isfinite
parent6ca84f1794af830ada9736d7289ce29aabb04ca3 (diff)
downloadtranslated-content-01b0e12ba27b5069248fd09235e9a7143915ee30.tar.gz
translated-content-01b0e12ba27b5069248fd09235e9a7143915ee30.tar.bz2
translated-content-01b0e12ba27b5069248fd09235e9a7143915ee30.zip
remove `notranslate` class in zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/number/isfinite')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/number/isfinite/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/isfinite/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/isfinite/index.html
index aef163cfb6..47a2ee8f0b 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/number/isfinite/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/number/isfinite/index.html
@@ -17,7 +17,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Number/isFinite
<h2 id="Syntax" name="Syntax">语法</h2>
-<pre class="syntaxbox notranslate"><code>Number.isFinite(v<var>alue</var>)</code></pre>
+<pre class="syntaxbox"><code>Number.isFinite(v<var>alue</var>)</code></pre>
<h3 id="Parameters" name="Parameters">参数</h3>
@@ -36,13 +36,13 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Number/isFinite
<h2 id="Polyfill">Polyfill</h2>
-<pre class="brush: js notranslate">if (Number.isFinite === undefined) Number.isFinite = function(value) {
+<pre class="brush: js">if (Number.isFinite === undefined) Number.isFinite = function(value) {
    return typeof value === 'number' &amp;&amp; isFinite(value);
}</pre>
<h2 id="示例">示例</h2>
-<pre class="brush: js notranslate">Number.isFinite(Infinity); // false
+<pre class="brush: js">Number.isFinite(Infinity); // false
Number.isFinite(NaN); // false
Number.isFinite(-Infinity); // false