diff options
author | Irvin <irvinfly@gmail.com> | 2022-02-16 02:08:24 +0800 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-02-16 02:35:54 +0800 |
commit | 8d1313c84cc82d81363ed62b75baedb9a65ff2e3 (patch) | |
tree | fcf531cdea6491c848cc17fc44efe5b18466e54b /files/zh-cn/web/javascript/reference/global_objects/object | |
parent | a2617e517fe48fbd0fc283e05c82e32765a3fb12 (diff) | |
download | translated-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/object')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/object/is/index.html | 4 | ||||
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/object/values/index.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/object/is/index.html b/files/zh-cn/web/javascript/reference/global_objects/object/is/index.html index f9f8f0a2fd..9c3aff1abd 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/object/is/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/object/is/index.html @@ -14,7 +14,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Object/is <p><code><strong>Object.is()</strong></code> 方法判断两个值是否为<a href="/zh-CN/docs/Web/JavaScript/Equality_comparisons_and_sameness">同一个值</a>。</p> -<p><font face="x-locale-heading-primary, zillaslab, Palatino, Palatino Linotype, x-locale-heading-secondary, serif"><strong>语法</strong></font></p> +<p><strong>语法</strong></p> <p> </p><pre class="syntaxbox notranslate"><code>Object.is(<var>value1</var>, <var>value2</var>);</code></pre> @@ -119,7 +119,7 @@ Object.is(-0, -0); // true Object.is(NaN, 0/0); // true </pre> -<p><font face="x-locale-heading-primary, zillaslab, Palatino, Palatino Linotype, x-locale-heading-secondary, serif"><strong>规范</strong></font></p> +<p><strong>规范</strong></p> <p> </p><table> diff --git a/files/zh-cn/web/javascript/reference/global_objects/object/values/index.html b/files/zh-cn/web/javascript/reference/global_objects/object/values/index.html index d744ebcb13..12dd243202 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/object/values/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/object/values/index.html @@ -57,7 +57,7 @@ console.log(Object.values('foo')); // ['f', 'o', 'o']</pre> <h2 id="Polyfill">Polyfill </h2> -<p><code><font face="Open Sans, arial, x-locale-body, sans-serif">如果要 </font>Object.values</code>兼容不支持它的旧环境,可在<font face="consolas, Liberation Mono, courier, monospace"> </font><a href="https://github.com/tc39/proposal-object-values-entries">tc39/proposal-object-values-entries</a> 或 <a href="https://github.com/es-shims/Object.values">es-shims/Object.values</a> 中找到 Polyfill 。</p> +<p><code>如果要 Object.values</code>兼容不支持它的旧环境,可在 <a href="https://github.com/tc39/proposal-object-values-entries">tc39/proposal-object-values-entries</a> 或 <a href="https://github.com/es-shims/Object.values">es-shims/Object.values</a> 中找到 Polyfill 。</p> <p>根据<strong>Object.keys()</strong>的Polyfill仿写一个:</p> |