aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/symbol
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/symbol')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/symbol/hasinstance/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/symbol/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/symbol/iterator/index.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/symbol/hasinstance/index.html b/files/zh-cn/web/javascript/reference/global_objects/symbol/hasinstance/index.html
index ad28084f8e..2381f6654f 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/symbol/hasinstance/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/symbol/hasinstance/index.html
@@ -17,7 +17,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Symbol/hasInstance
<h2 id="示例">示例</h2>
-<p><font face="Open Sans, Arial, sans-serif">你可实现一个自定义的</font><code>instanceof</code> 行为,<font face="Open Sans, Arial, sans-serif">例如:</font></p>
+<p>你可实现一个自定义的<code>instanceof</code> 行为,例如:</p>
<pre class="brush: js notranslate">class MyArray {
static [Symbol.hasInstance](instance) {
diff --git a/files/zh-cn/web/javascript/reference/global_objects/symbol/index.html b/files/zh-cn/web/javascript/reference/global_objects/symbol/index.html
index 346c6df0f0..5e23754b25 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/symbol/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/symbol/index.html
@@ -120,7 +120,7 @@ typeof symObj; // "object"</pre>
<dd>从全局symbol注册表中,为给定的symbol检索一个共享的?symbol key。</dd>
</dl>
-<h2 id="Boolean_instances" name="Boolean_instances"><font face="Consolas, Monaco, Andale Mono, monospace">Symbol 原型</font></h2>
+<h2 id="Boolean_instances" name="Boolean_instances">Symbol 原型</h2>
<p>所有 Symbols 继承自 {{jsxref("Symbol.prototype")}}.</p>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/symbol/iterator/index.html b/files/zh-cn/web/javascript/reference/global_objects/symbol/iterator/index.html
index ff58e52170..074e1bd3e7 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/symbol/iterator/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/symbol/iterator/index.html
@@ -16,7 +16,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Symbol/iterator
<h2 id="描述">描述</h2>
-<p>当需要对一个对象进行迭代时(<font><font>比如开始用于一个</font></font><code><font><font>for..of</font></font></code><font><font>循环中</font></font>),它的<code>@@iterator</code>方法都会在不传参情况下被调用,返回的<strong>迭代器</strong>用于获取要迭代的值。</p>
+<p>当需要对一个对象进行迭代时(比如开始用于一个<code>for..of</code>循环中),它的<code>@@iterator</code>方法都会在不传参情况下被调用,返回的<strong>迭代器</strong>用于获取要迭代的值。</p>
<p>一些内置类型拥有默认的迭代器行为,其他类型(如 {{jsxref("Object")}})则没有。下表中的内置类型拥有默认的<code>@@iterator</code>方法:</p>