diff options
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/object/values/index.html')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/object/values/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
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> |