aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/nan
diff options
context:
space:
mode:
authorIrvin <irvinfly@gmail.com>2022-02-16 02:08:24 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commit8d1313c84cc82d81363ed62b75baedb9a65ff2e3 (patch)
treefcf531cdea6491c848cc17fc44efe5b18466e54b /files/zh-cn/web/javascript/reference/global_objects/nan
parenta2617e517fe48fbd0fc283e05c82e32765a3fb12 (diff)
downloadtranslated-content-8d1313c84cc82d81363ed62b75baedb9a65ff2e3.tar.gz
translated-content-8d1313c84cc82d81363ed62b75baedb9a65ff2e3.tar.bz2
translated-content-8d1313c84cc82d81363ed62b75baedb9a65ff2e3.zip
remove font tag in zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/nan')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/nan/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/nan/index.html b/files/zh-cn/web/javascript/reference/global_objects/nan/index.html
index 777e6a15ce..c83a017f48 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/nan/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/nan/index.html
@@ -17,7 +17,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/NaN
<p><code>NaN</code> 是一个<em>全局对象</em>的属性。</p>
-<p><font face="monospace">NaN </font>属性的初始值就是 NaN,和 {{jsxref("Number.NaN")}} 的值一样。在现代浏览器中(ES5中), <code>NaN</code> 属性是一个不可配置(non-configurable),不可写(non-writable)的属性。但在ES3中,这个属性的值是可以被更改的,但是也应该避免覆盖。</p>
+<p><code>NaN </code>属性的初始值就是 NaN,和 {{jsxref("Number.NaN")}} 的值一样。在现代浏览器中(ES5中), <code>NaN</code> 属性是一个不可配置(non-configurable),不可写(non-writable)的属性。但在ES3中,这个属性的值是可以被更改的,但是也应该避免覆盖。</p>
<p>编码中很少直接使用<code>到 NaN</code>。通常都是在计算失败时,作为 Math 的某个方法的返回值出现的(例如:<code>Math.sqrt(-1)</code>)或者尝试将一个字符串解析成数字但失败了的时候(例如:<code>parseInt("blabla")</code>)。</p>