aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/isnan
diff options
context:
space:
mode:
authorIrvin <irvinfly@gmail.com>2022-02-16 02:14:18 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commitd44f5032d0f53256b2d5aef505d6b593fd3cd158 (patch)
tree4b585f4be9c9a2712664ad10e7acf62c83fff51f /files/zh-cn/web/javascript/reference/global_objects/isnan
parentf45e9e070c93ebbd83d488bdd775987a4d75c201 (diff)
downloadtranslated-content-d44f5032d0f53256b2d5aef505d6b593fd3cd158.tar.gz
translated-content-d44f5032d0f53256b2d5aef505d6b593fd3cd158.tar.bz2
translated-content-d44f5032d0f53256b2d5aef505d6b593fd3cd158.zip
fix yari h2m dry run errors (zh-CN)
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/isnan')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/isnan/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/isnan/index.html b/files/zh-cn/web/javascript/reference/global_objects/isnan/index.html
index 00704c3228..0fe301862d 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/isnan/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/isnan/index.html
@@ -48,7 +48,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/isNaN
<p>一个<code>isNaN</code>的 polyfill 可以理解为(这个polyfill利用了<code>NaN</code>自身永不相等于自身这一特征 ):</p>
-<pre class="brush: js line-numbers language-js">var isNaN = function(value) {
+<pre class="brush: js">var isNaN = function(value) {
var n = Number(value);
return n !== n;
};</pre>