aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/zh-cn/web/javascript/closures/index.html2
-rw-r--r--files/zh-cn/web/javascript/data_structures/index.html4
-rw-r--r--files/zh-cn/web/javascript/equality_comparisons_and_sameness/index.html10
-rw-r--r--files/zh-cn/web/javascript/guide/control_flow_and_error_handling/index.html2
-rw-r--r--files/zh-cn/web/javascript/guide/expressions_and_operators/index.html6
-rw-r--r--files/zh-cn/web/javascript/guide/indexed_collections/index.html4
-rw-r--r--files/zh-cn/web/javascript/guide/keyed_collections/index.html6
-rw-r--r--files/zh-cn/web/javascript/guide/modules/index.html2
-rw-r--r--files/zh-cn/web/javascript/guide/numbers_and_dates/index.html6
-rw-r--r--files/zh-cn/web/javascript/guide/working_with_objects/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/classes/extends/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/classes/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/errors/non_configurable_array_element/index.html4
-rw-r--r--files/zh-cn/web/javascript/reference/errors/strict_non_simple_params/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/functions/arguments/callee/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/functions/arrow_functions/index.html4
-rw-r--r--files/zh-cn/web/javascript/reference/functions/index.html6
-rw-r--r--files/zh-cn/web/javascript/reference/functions/rest_parameters/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/functions/set/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/aggregateerror/index.html14
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/array/@@iterator/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/array/from/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/array/tolocalestring/index.html6
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/arraybuffer/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/atomics/add/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/atomics/and/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/atomics/compareexchange/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/atomics/exchange/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/atomics/load/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/date/setmonth/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/date/setutcseconds/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/date/tolocalestring/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/int32array/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/intl/collator/index.html4
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/intl/datetimeformat/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/intl/numberformat/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/intl/pluralrules/index.html68
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/isnan/index.html4
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/map/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/math/abs/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/math/cbrt/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/nan/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/number/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/number/tofixed/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/object/is/index.html4
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/object/values/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/parseint/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/promise/allsettled/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/promise/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/promise/promise/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/promise/race/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/promise/reject/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/promise/then/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/proxy/proxy/setprototypeof/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/reflect/comparing_reflect_and_object_methods/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/reflect/construct/index.html6
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/reflect/get/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/reflect/isextensible/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/set/foreach/index.html6
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/sharedarraybuffer/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/big/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/bold/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/fontcolor/index.html104
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/fontsize/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/index.html4
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/indexof/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/localecompare/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/tolocalelowercase/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/tolowercase/index.html2
-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
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/syntaxerror/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/typedarray/index.html6
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/uint16array/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/uint32array/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/unescape/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/weakset/delete/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/webassembly/table/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/operators/await/index.html6
-rw-r--r--files/zh-cn/web/javascript/reference/operators/bitwise_not/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/operators/destructuring_assignment/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/operators/exponentiation/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/operators/function/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/operators/inequality/index.html24
-rw-r--r--files/zh-cn/web/javascript/reference/operators/new.target/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/operators/new/index.html4
-rw-r--r--files/zh-cn/web/javascript/reference/operators/nullish_coalescing_operator/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/operators/spread_syntax/index.html34
-rw-r--r--files/zh-cn/web/javascript/reference/statements/if...else/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/statements/import/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/statements/with/index.html4
92 files changed, 240 insertions, 242 deletions
diff --git a/files/zh-cn/web/javascript/closures/index.html b/files/zh-cn/web/javascript/closures/index.html
index 4374a1571c..4b732a1a0d 100644
--- a/files/zh-cn/web/javascript/closures/index.html
+++ b/files/zh-cn/web/javascript/closures/index.html
@@ -247,7 +247,7 @@ setupHelp();
<p>运行这段代码后,您会发现它没有达到想要的效果。无论焦点在哪个<code>input</code>上,显示的都是关于年龄的信息。</p>
-<p>原因是赋值给 <code>onfocus</code> 的是闭包。这些闭包是由他们的函数定义和在 <code>setupHelp</code> 作用域中捕获的环境所组成的。这三个闭包在循环中被创建,但他们共享了同一个词法作用域,在这个作用域中存在一个变量item。这是因为变量<font face="consolas, Liberation Mono, courier, monospace">item</font>使用var进行声明,由于变量提升,所以具有函数作用域。当<code>onfocus</code>的回调执行时,<code>item.help</code>的值被决定。由于循环在事件触发之前早已执行完毕,变量对象<code>item</code>(被三个闭包所共享)已经指向了<code>helpText</code>的最后一项。</p>
+<p>原因是赋值给 <code>onfocus</code> 的是闭包。这些闭包是由他们的函数定义和在 <code>setupHelp</code> 作用域中捕获的环境所组成的。这三个闭包在循环中被创建,但他们共享了同一个词法作用域,在这个作用域中存在一个变量item。这是因为变量<code>item</code>使用var进行声明,由于变量提升,所以具有函数作用域。当<code>onfocus</code>的回调执行时,<code>item.help</code>的值被决定。由于循环在事件触发之前早已执行完毕,变量对象<code>item</code>(被三个闭包所共享)已经指向了<code>helpText</code>的最后一项。</p>
<p>解决这个问题的一种方案是使用更多的闭包:特别是使用前面所述的函数工厂:</p>
diff --git a/files/zh-cn/web/javascript/data_structures/index.html b/files/zh-cn/web/javascript/data_structures/index.html
index 28273e864f..43090ed41c 100644
--- a/files/zh-cn/web/javascript/data_structures/index.html
+++ b/files/zh-cn/web/javascript/data_structures/index.html
@@ -84,9 +84,9 @@ foo = true; // foo is a Boolean now
9007199254740993n</code>
</pre>
-<p>可以对<code>BigInt</code>使用运算符<code>+<font face="Arial, x-locale-body, sans-serif">、</font></code><code>*<font face="Arial, x-locale-body, sans-serif">、</font></code><code>-<font face="Arial, x-locale-body, sans-serif">、</font></code><code>**</code>和<code>%</code>,就像对数字一样。BigInt 严格来说并不等于一个数字,但它是松散的。</p>
+<p>可以对<code>BigInt</code>使用运算符<code>+</code>、<code>*</code>、<code>-</code>、<code>**</code>和<code>%</code>,就像对数字一样。BigInt 严格来说并不等于一个数字,但它是松散的。</p>
-<p>在将<code>BigInt</code>转换为<code>Boolean</code>时,它的行为类似于一个数字:<code>if<font face="Arial, x-locale-body, sans-serif">、</font></code><code>||<font face="Arial, x-locale-body, sans-serif">、</font></code><code>&amp;&amp;<font face="Arial, x-locale-body, sans-serif">、</font></code><code>Boolean<font face="Arial, x-locale-body, sans-serif"> 和</font></code><code>!。</code></p>
+<p>在将<code>BigInt</code>转换为<code>Boolean</code>时,它的行为类似于一个数字:<code>if</code>、<code>||</code>、<code>&amp;&amp;</code>、<code>Boolean</code> 和<code>!。</code></p>
<p><code>BigInt</code>不能与数字互换操作。否则,将抛出{{jsxref("TypeError")}}。</p>
diff --git a/files/zh-cn/web/javascript/equality_comparisons_and_sameness/index.html b/files/zh-cn/web/javascript/equality_comparisons_and_sameness/index.html
index f9ccd18faa..509f759b1d 100644
--- a/files/zh-cn/web/javascript/equality_comparisons_and_sameness/index.html
+++ b/files/zh-cn/web/javascript/equality_comparisons_and_sameness/index.html
@@ -17,7 +17,7 @@ translation_of: Web/JavaScript/Equality_comparisons_and_sameness
<ul>
<li>抽象(非严格)相等比较 (<code>==</code>)</li>
- <li>严格相等比较 (<code>===</code>): 用于<font face="consolas, Liberation Mono, courier, monospace"> </font> <code>Array.prototype.indexOf</code>, <code>Array.prototype.lastIndexOf</code>, 和 <code>case</code>-matching</li>
+ <li>严格相等比较 (<code>===</code>): 用于  <code>Array.prototype.indexOf</code>, <code>Array.prototype.lastIndexOf</code>, 和 <code>case</code>-matching</li>
<li>同值零: 用于 <code>%TypedArray%</code> 和 <code>ArrayBuffer </code>构造函数、以及<code>Map</code>和<code>Set</code>操作, 并将用于 ES2016/ES7 中的<code>String.prototype.includes </code></li>
<li>同值: 用于所有其他地方</li>
</ul>
@@ -125,15 +125,15 @@ console.log(obj === undefined); // false
<td style="text-align: center;"><code>ToNumber(A) === B</code></td>
<td style="text-align: center;"><code>ToNumber(A) === ToNumber(B)</code></td>
<td style="text-align: center;"><code>A === B</code></td>
- <td style="text-align: center;">ToNumber(A) == ToPrimitive(B)</td>
+ <td style="text-align: center;"><code>ToNumber(A) == ToPrimitive(B)</code></td>
</tr>
<tr>
<td>Object</td>
- <td style="text-align: center;"><font face="Consolas, Liberation Mono, Courier, monospace">false</font></td>
- <td style="text-align: center;"><font face="Consolas, Liberation Mono, Courier, monospace">false</font></td>
+ <td style="text-align: center;"><code>false</code></td>
+ <td style="text-align: center;"><code>false</code></td>
<td style="text-align: center;"><code>ToPrimitive(A) == B</code></td>
<td style="text-align: center;"><code>ToPrimitive(A) == B</code></td>
- <td style="text-align: center;">ToPrimitive(A) == ToNumber(B)</td>
+ <td style="text-align: center;"><code>ToPrimitive(A) == ToNumber(B)</code></td>
<td style="text-align: center;">
<p><code>A === B</code></p>
</td>
diff --git a/files/zh-cn/web/javascript/guide/control_flow_and_error_handling/index.html b/files/zh-cn/web/javascript/guide/control_flow_and_error_handling/index.html
index 08bbb7ae5b..4ed8290f17 100644
--- a/files/zh-cn/web/javascript/guide/control_flow_and_error_handling/index.html
+++ b/files/zh-cn/web/javascript/guide/control_flow_and_error_handling/index.html
@@ -219,7 +219,7 @@ document.write("Is there anything else you'd like?&lt;br&gt;");
<h3 id="throw_语句"><code>throw</code> 语句</h3>
-<p>使用<font face="Courier New, Andale Mono, monospace"><code>throw</code>语句抛出一个异常。当你抛出异常,你规定一个含有值的表达式要被抛出。</font></p>
+<p>使用<code>throw</code>语句抛出一个异常。当你抛出异常,你规定一个含有值的表达式要被抛出。</p>
<pre class="brush: js">throw expression;
</pre>
diff --git a/files/zh-cn/web/javascript/guide/expressions_and_operators/index.html b/files/zh-cn/web/javascript/guide/expressions_and_operators/index.html
index c89cc966e5..1ea851d0f7 100644
--- a/files/zh-cn/web/javascript/guide/expressions_and_operators/index.html
+++ b/files/zh-cn/web/javascript/guide/expressions_and_operators/index.html
@@ -588,7 +588,7 @@ var a = [x, x, x, x, x];
for (var i = 0, j = 9; i &lt;= j; i++, j--)
console.log('a[' + i + '][' + j + ']= ' + a[i][j]);</pre>
-<h3 id="delete" name="delete"><font face="Consolas, Liberation Mono, Courier, monospace">一元</font>操作符</h3>
+<h3 id="delete" name="delete">一元操作符</h3>
<p>一元操作符仅对应一个操作数。</p>
@@ -669,13 +669,13 @@ typeof today; // returns "object"
typeof dontExist; // returns "undefined"
</pre>
-<p>对于关键词 <code>true</code> 和 <code>null<font face="Open Sans, Arial, sans-serif">, </font></code><code>typeof</code> 操作符将会返回如下结果:</p>
+<p>对于关键词 <code>true</code> 和 <code>null</code>, <code>typeof</code> 操作符将会返回如下结果:</p>
<pre class="brush: js notranslate">typeof true; // returns "boolean"
typeof null; // returns "object"
</pre>
-<p>对于一个数值或字符串<code><font face="Open Sans, Arial, sans-serif">, </font></code><code>typeof</code> 操作符将会返回如下结果:</p>
+<p>对于一个数值或字符串<code></code>, <code>typeof</code> 操作符将会返回如下结果:</p>
<pre class="brush: js notranslate">typeof 62; // returns "number"
typeof 'Hello world'; // returns "string"
diff --git a/files/zh-cn/web/javascript/guide/indexed_collections/index.html b/files/zh-cn/web/javascript/guide/indexed_collections/index.html
index 5dddf74d46..fae44cbb84 100644
--- a/files/zh-cn/web/javascript/guide/indexed_collections/index.html
+++ b/files/zh-cn/web/javascript/guide/indexed_collections/index.html
@@ -7,9 +7,9 @@ translation_of: Web/JavaScript/Guide/Indexed_collections
<p class="summary">这个章节主要介绍了以索引进行排序的数据集合。包括数组以及类似于数组的数据结构,如<strong style="background-color: #f4f7f8; font-weight: bold;"> {{jsxref("Array")}} </strong>、<strong style="background-color: #f4f7f8; font-weight: bold;">{{jsxref("TypedArray")}} </strong>。</p>
-<h2 id="数组对象Array_object"><font face="Courier, Andale Mono, monospace">数组对象(Array object)</font></h2>
+<h2 id="数组对象Array_object">数组对象(Array object)</h2>
-<p><font face="Courier, Andale Mono, monospace">数组(array)是一个有序的数据集合,我们可以通过数组名称(name)和索引(index)进行访问。例如,我们定义了一个数组emp,数组中的每个元素包含了一个雇员的名字以及其作为索引的员工号。那么emp[1]将会代表1号员工,emp[2]将会代表2号员工,以此类推。</font></p>
+<p>数组(array)是一个有序的数据集合,我们可以通过数组名称(name)和索引(index)进行访问。例如,我们定义了一个数组emp,数组中的每个元素包含了一个雇员的名字以及其作为索引的员工号。那么emp[1]将会代表1号员工,emp[2]将会代表2号员工,以此类推。</p>
<p>JavaScript中没有明确的数组数据类型。但是,我们可以通过使用内置Array对象和它的方法对数组进行操作。Array对象有很多操作数组的方法,比如合并、反转、排序等。数组对象有一个决定数组长度和使用正则表达式操作其他属性的属性。</p>
diff --git a/files/zh-cn/web/javascript/guide/keyed_collections/index.html b/files/zh-cn/web/javascript/guide/keyed_collections/index.html
index bb735f4205..fe78a06692 100644
--- a/files/zh-cn/web/javascript/guide/keyed_collections/index.html
+++ b/files/zh-cn/web/javascript/guide/keyed_collections/index.html
@@ -40,7 +40,7 @@ for (var [key, value] of sayings) {
sayings.clear();
sayings.size; // 0</pre>
-<h3 id="Object和Map的比较"><code><font face="Consolas, Liberation Mono, Courier, monospace">Object</font></code>和<code>Map</code>的比较</h3>
+<h3 id="Object和Map的比较"><code>Object</code>和<code>Map</code>的比较</h3>
<p>一般地,{{jsxref("Object", "objects", "", 1)}}会被用于将字符串类型映射到数值。<code>Object</code>允许设置键值对、根据键获取值、删除键、检测某个键是否存在。而<code>Map</code>具有更多的优势。</p>
@@ -48,7 +48,7 @@ sayings.size; // 0</pre>
<li><code>Object</code>的键均为<code>Strings</code>类型,在<code>Map</code>里键可以是任意类型。</li>
<li>必须手动计算<code>Object</code>的尺寸,但是可以很容易地获取使用<code>Map</code>的尺寸。</li>
<li><code>Map</code>的遍历遵循元素的插入顺序。</li>
- <li><code>Object</code>有原型,所以映射中有一些缺省的键。<font face="Open Sans, Arial, sans-serif">(</font>可以用 <code>map = Object.create(null) 回避</code>)。</li>
+ <li><code>Object</code>有原型,所以映射中有一些缺省的键。(可以用 <code>map = Object.create(null) 回避</code>)。</li>
</ul>
<p>这三条提示可以帮你决定用<code>Map</code>还是<code>Object</code>:</p>
@@ -131,7 +131,7 @@ mySet2 = new Set([1,2,3,4]);
<h3 id="WeakSet对象"><code>WeakSet</code>对象</h3>
-<p>{{jsxref("WeakSet")}}对象是一组对象的集合。<code>WeakSet</code>中的对象不重复且不可枚举<font face="Consolas, Liberation Mono, Courier, monospace">。</font></p>
+<p>{{jsxref("WeakSet")}}对象是一组对象的集合。<code>WeakSet</code>中的对象不重复且不可枚举。</p>
<p>与{{jsxref("Set")}}对象的主要区别有:</p>
diff --git a/files/zh-cn/web/javascript/guide/modules/index.html b/files/zh-cn/web/javascript/guide/modules/index.html
index 1ea1f81adf..3ad682563c 100644
--- a/files/zh-cn/web/javascript/guide/modules/index.html
+++ b/files/zh-cn/web/javascript/guide/modules/index.html
@@ -125,7 +125,7 @@ export function draw(ctx, length, x, y, color) {
};
}</pre>
-<p>你能够导出函数,<code>var</code><font face="Arial, x-locale-body, sans-serif">,</font><code>let</code><font face="Arial, x-locale-body, sans-serif">,</font><code>const</code>, 和等会会看到的类。export要放在最外层;比如你不能够在函数内使用<code>export</code>。</p>
+<p>你能够导出函数,<code>var</code>,<code>let</code>,<code>const</code>, 和等会会看到的类。export要放在最外层;比如你不能够在函数内使用<code>export</code>。</p>
<p>一个更方便的方法导出所有你想要导出的模块的方法是在模块文件的末尾使用一个export 语句, 语句是用花括号括起来的用逗号分割的列表。比如:</p>
diff --git a/files/zh-cn/web/javascript/guide/numbers_and_dates/index.html b/files/zh-cn/web/javascript/guide/numbers_and_dates/index.html
index 8cb199afe5..48a950b5ed 100644
--- a/files/zh-cn/web/javascript/guide/numbers_and_dates/index.html
+++ b/files/zh-cn/web/javascript/guide/numbers_and_dates/index.html
@@ -71,7 +71,7 @@ var m = 0644; // 420
0.1e2 // 10
</pre>
-<h2 id="数字对象"><font face="Consolas, Liberation Mono, Courier, monospace"><code>数字对象</code></font></h2>
+<h2 id="数字对象"><code>数字对象</code></h2>
<p>内置的{{jsxref("Number")}}对象有一些有关数字的常量属性,如最大值、不是一个数字和无穷大的。你不能改变这些属性,但可以按下边的方式使用它们:</p>
@@ -206,7 +206,7 @@ var notANum = Number.NaN;
</tbody>
</table>
-<h2 id="数学对象(Math)"><font face="consolas, Liberation Mono, courier, monospace">数学对象(Math)</font></h2>
+<h2 id="数学对象(Math)">数学对象(Math)</h2>
<p>对于内置的{{jsxref("Math")}}数学常项和函数也有一些属性和方法。 比方说, <code>Math对象的</code> <code>PI</code> 属性会有属性值 pi (3.141...),你可以像这样调用它:</p>
@@ -302,7 +302,7 @@ var notANum = Number.NaN;
<p>和其他对象不同,你不能够创建一个自己的Math对象。你只能使用内置的Math对象。</p>
-<h2 id="日期对象"><font face="Consolas, Liberation Mono, Courier, monospace">日期对象</font></h2>
+<h2 id="日期对象">日期对象</h2>
<p>JavaScript没有日期数据类型。但是你可以在你的程序里使用 {{jsxref("Date")}} 对象和其方法来处理日期和时间。Date对象有大量的设置、获取和操作日期的方法。 它并不含有任何属性。</p>
diff --git a/files/zh-cn/web/javascript/guide/working_with_objects/index.html b/files/zh-cn/web/javascript/guide/working_with_objects/index.html
index 8504e1345e..eb20cf56b1 100644
--- a/files/zh-cn/web/javascript/guide/working_with_objects/index.html
+++ b/files/zh-cn/web/javascript/guide/working_with_objects/index.html
@@ -506,7 +506,7 @@ var fruitbear = fruit; // 将fruit的对象<strong>引用</strong>(reference)
fruit == fruitbear // return true
fruit === fruitbear // return true</pre>
-<p><font face="Consolas, Liberation Mono, Courier, monospace">了解更多关于比较操作符的用法,查看</font> <a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Operators/Comparison_Operators">Comparison operators</a>.</p>
+<p>了解更多关于比较操作符的用法,查看 <a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Operators/Comparison_Operators">Comparison operators</a>.</p>
<h2 id="附加参考">附加参考</h2>
diff --git a/files/zh-cn/web/javascript/reference/classes/extends/index.html b/files/zh-cn/web/javascript/reference/classes/extends/index.html
index 3b748a622d..c7dbb72d18 100644
--- a/files/zh-cn/web/javascript/reference/classes/extends/index.html
+++ b/files/zh-cn/web/javascript/reference/classes/extends/index.html
@@ -19,7 +19,7 @@ translation_of: Web/JavaScript/Reference/Classes/extends
<p><code>extends</code>关键字用来创建一个普通类或者内建对象的子类。</p>
-<p><font face="Open Sans, Arial, sans-serif">继承的</font><code>.prototype</code>必须是一个{{jsxref("Object")}} 或者 {{jsxref("null")}}。</p>
+<p>继承的<code>.prototype</code>必须是一个{{jsxref("Object")}} 或者 {{jsxref("null")}}。</p>
<h2 id="示例">示例</h2>
diff --git a/files/zh-cn/web/javascript/reference/classes/index.html b/files/zh-cn/web/javascript/reference/classes/index.html
index fdf7cd4f6e..3b0c5f408f 100644
--- a/files/zh-cn/web/javascript/reference/classes/index.html
+++ b/files/zh-cn/web/javascript/reference/classes/index.html
@@ -143,7 +143,7 @@ console.log(Point.distance(p1, p2));
<h3 id="用原型和静态方法绑定_this">用原型和静态方法绑定 this</h3>
-<p>当调用静态或原型方法时没有指定 <em>this </em>的值,那么方法内的 <em>this </em>值将被置为 <strong><code>undefined</code></strong>。即使你未设置 <font face="consolas, Liberation Mono, courier, monospace">"use strict"</font> ,因为 <code>class</code> 体内部的代码总是在严格模式下执行。</p>
+<p>当调用静态或原型方法时没有指定 <em>this </em>的值,那么方法内的 <em>this </em>值将被置为 <strong><code>undefined</code></strong>。即使你未设置 <code>"use strict"</code> ,因为 <code>class</code> 体内部的代码总是在严格模式下执行。</p>
<pre class="brush: js notranslate">class Animal {
speak() {
diff --git a/files/zh-cn/web/javascript/reference/errors/non_configurable_array_element/index.html b/files/zh-cn/web/javascript/reference/errors/non_configurable_array_element/index.html
index d38da28248..5522d26695 100644
--- a/files/zh-cn/web/javascript/reference/errors/non_configurable_array_element/index.html
+++ b/files/zh-cn/web/javascript/reference/errors/non_configurable_array_element/index.html
@@ -22,13 +22,13 @@ TypeError: Cannot delete property '2' of [object Array] (Chrome)
<p>这个错误提示发生于当试图<a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/length#Shortening_an_array">缩短一个数组的长度</a>的时候,其中有元素是不可配置的(<a href="/en-US/docs/Web/JavaScript/Data_structures#Properties">non-configurable</a>)。正常情况下,缩短数组的长度,则超出限度的元素会被删除,而这里指的是这种操作失效的情况。</p>
-<p><code><font face="Open Sans, arial, x-locale-body, sans-serif"> </font>configurable</code>  特性控制着属性是否可以从对象中删除,以及它的特性(除了 writable 之外)是否可以发生改变。</p>
+<p><code>configurable</code>  特性控制着属性是否可以从对象中删除,以及它的特性(除了 writable 之外)是否可以发生改变。</p>
<p>通常,使用<a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array#Syntax">数组初始化语句</a>创建的对象是可配置的,而通过 {{jsxref("Object.defineProperty()")}} 创建的属性,默认则是不可配置的。</p>
<h2 id="示例">示例</h2>
-<h3 id="通过_Object.defineProperty_创建的不可配置属性"><code><font face="x-locale-heading-primary, zillaslab, Palatino, Palatino Linotype, x-locale-heading-secondary, serif">通过 </font>Object.defineProperty 创建的不可配置属性</code></h3>
+<h3 id="通过_Object.defineProperty_创建的不可配置属性"><code>通过 Object.defineProperty 创建的不可配置属性</code></h3>
<p>使用 {{jsxref("Object.defineProperty()")}} 且在没有明确将属性设定为可配置的情况下,默认可以创建不可配置属性。</p>
diff --git a/files/zh-cn/web/javascript/reference/errors/strict_non_simple_params/index.html b/files/zh-cn/web/javascript/reference/errors/strict_non_simple_params/index.html
index 3059705d88..e546200e69 100644
--- a/files/zh-cn/web/javascript/reference/errors/strict_non_simple_params/index.html
+++ b/files/zh-cn/web/javascript/reference/errors/strict_non_simple_params/index.html
@@ -28,7 +28,7 @@ Chrome:
<h2 id="哪里出错了">哪里出错了?</h2>
-<p><code><font face="Open Sans, Arial, sans-serif">在函数顶部直接写了 </font>"use strict"</code> ,而该函数拥有以下的参数其中之一:</p>
+<p>在函数顶部直接写了 <code>"use strict"</code> ,而该函数拥有以下的参数其中之一:</p>
<ul>
<li>{{jsxref("Functions/Default_parameters", "默认参数", "", 1)}}</li>
diff --git a/files/zh-cn/web/javascript/reference/functions/arguments/callee/index.html b/files/zh-cn/web/javascript/reference/functions/arguments/callee/index.html
index f610b26d54..d814e6ce1f 100644
--- a/files/zh-cn/web/javascript/reference/functions/arguments/callee/index.html
+++ b/files/zh-cn/web/javascript/reference/functions/arguments/callee/index.html
@@ -19,7 +19,7 @@ translation_of: Web/JavaScript/Reference/Functions/arguments/callee
<p><strong><code>callee</code></strong> 是 <code>arguments</code> 对象的一个属性。它可以用于引用该函数的函数体内当前正在执行的函数。这在函数的名称是未知时很有用,例如在没有名称的函数表达式 (也称为“匿名函数”)内。</p>
-<div class="warning"><strong>警告:</strong>在<a href="/en-US/docs/JavaScript/Reference/Functions_and_function_scope/Strict_mode" title="/en-US/docs/JavaScript/Reference/Functions_and_function_scope/Strict_mode">严格模式</a>下,第5版 ECMAScript (<strong>ES5</strong>) 禁止使用 <code>a<strong>rguments.callee()</strong>。当一个函数必须调用自身的时候, 避免使用 <strong>arguments.callee(), </strong></code>通过<code>要么</code>给函数表达式一个名字<font face="Consolas, Liberation Mono, Courier, monospace">,</font>要么使用一个函数声明.</div>
+<div class="warning"><strong>警告:</strong>在<a href="/en-US/docs/JavaScript/Reference/Functions_and_function_scope/Strict_mode" title="/en-US/docs/JavaScript/Reference/Functions_and_function_scope/Strict_mode">严格模式</a>下,第5版 ECMAScript (<strong>ES5</strong>) 禁止使用 <code>a<strong>rguments.callee()</strong>。当一个函数必须调用自身的时候, 避免使用 <strong>arguments.callee(), </strong></code>通过<code>要么</code>给函数表达式一个名字,要么使用一个函数声明.</div>
<h2 id="为什么_arguments.callee_从ES5严格模式中删除了?">为什么 arguments.callee 从ES5严格模式中删除了?</h2>
diff --git a/files/zh-cn/web/javascript/reference/functions/arrow_functions/index.html b/files/zh-cn/web/javascript/reference/functions/arrow_functions/index.html
index 674dcf9ad0..7f3ca61168 100644
--- a/files/zh-cn/web/javascript/reference/functions/arrow_functions/index.html
+++ b/files/zh-cn/web/javascript/reference/functions/arrow_functions/index.html
@@ -96,7 +96,7 @@ elements.map(({ "length": lengthFooBArX }) =&gt; lengthFooBArX); // [8, 6, 7, 9]
<ul>
<li>如果该函数是一个构造函数,this指针指向一个新的对象</li>
- <li>在严格模式下的函数调用下,this指向<font face="consolas, Liberation Mono, courier, monospace">undefined</font></li>
+ <li>在严格模式下的函数调用下,this指向<code>undefined</code></li>
<li>如果该函数是一个对象的方法,则它的this指针指向这个对象</li>
<li>等等</li>
</ul>
@@ -153,7 +153,7 @@ f() === window; // 或者 global</code></pre>
<h4 id="通过_call_或_apply_调用">通过 call 或 apply 调用</h4>
-<p>由于 <font face="consolas, Liberation Mono, courier, monospace">箭头函数没有自己的this指针</font>,通过 <code>call()</code><em> 或</em> <code>apply()</code> 方法调用一个函数时,只能传递参数(不能绑定this---译者注),他们的第一个参数会被忽略。(这种现象对于bind方法同样成立---译者注)</p>
+<p>由于 箭头函数没有自己的this指针,通过 <code>call()</code><em> 或</em> <code>apply()</code> 方法调用一个函数时,只能传递参数(不能绑定this---译者注),他们的第一个参数会被忽略。(这种现象对于bind方法同样成立---译者注)</p>
<pre class="brush: js notranslate">var adder = {
base : 1,
diff --git a/files/zh-cn/web/javascript/reference/functions/index.html b/files/zh-cn/web/javascript/reference/functions/index.html
index 2184c429f3..6d48ab1c9a 100644
--- a/files/zh-cn/web/javascript/reference/functions/index.html
+++ b/files/zh-cn/web/javascript/reference/functions/index.html
@@ -63,7 +63,7 @@ translation_of: Web/JavaScript/Reference/Functions
<p>定义函数有多种方法:</p>
-<h3 id="The_function_declaration_.28function_statement.29" name="The_function_declaration_.28function_statement.29">函数声明 (<font face="Consolas, Liberation Mono, Courier, monospace">函数</font>语句)</h3>
+<h3 id="The_function_declaration_.28function_statement.29" name="The_function_declaration_.28function_statement.29">函数声明 (函数语句)</h3>
<p>有一个特殊的语法来声明函数(查看<a href="/zh-cn/JavaScript/Reference/Statements/function" title="zh-cn/Core_JavaScript_1.5_Reference/Statements/function">函数语句</a>了解详情):</p>
@@ -283,14 +283,14 @@ translation_of: Web/JavaScript/Reference/Functions
} // 没有分号
</pre>
-<p>一个匿名函数的函数表达式,被赋值给变量<code><font face="Open Sans, Arial, sans-serif">multiply</font></code><font face="Open Sans, Arial, sans-serif">:</font></p>
+<p>一个匿名函数的函数表达式,被赋值给变量<code>multiply</code>:</p>
<pre class="brush: js line-numbers language-js"> var multiply = function(x, y) {
return x * y;
};
</pre>
-<p><font face="Open Sans, Arial, sans-serif">一个命名为<code>func_named</code>的函数的函数表达式,被赋值给变量</font><code><font face="Open Sans, Arial, sans-serif">multiply</font></code><font face="Open Sans, Arial, sans-serif">:</font></p>
+<p>一个命名为<code>func_named</code>的函数的函数表达式,被赋值给变量<code>multiply</code>:</p>
<pre class="brush: js">var multiply = function func_name(x, y) {
return x * y;
diff --git a/files/zh-cn/web/javascript/reference/functions/rest_parameters/index.html b/files/zh-cn/web/javascript/reference/functions/rest_parameters/index.html
index ededb09bcd..406552c11c 100644
--- a/files/zh-cn/web/javascript/reference/functions/rest_parameters/index.html
+++ b/files/zh-cn/web/javascript/reference/functions/rest_parameters/index.html
@@ -35,7 +35,7 @@ translation_of: Web/JavaScript/Reference/Functions/rest_parameters
<ul>
<li>剩余参数只包含那些没有对应形参的实参,而 <code>arguments</code> 对象包含了传给函数的所有实参。</li>
- <li><code>arguments</code>对象不是一个真正的数组,而剩余参数是真正的 <code><a href="/zh-cn/JavaScript/Reference/Global_Objects/Array" title="Array">Array</a></code>实例,也就是说你能够在它上面直接使用所有的数组方法,比如 <code><a href="/zh-cn/JavaScript/Reference/Global_Objects/Array/sort" title="Array sort method">sort</a></code><font face="Open Sans, Arial, sans-serif">,</font><code><a href="/zh-cn/JavaScript/Reference/Global_Objects/Array/map" title="Array map method">map</a></code><font face="Open Sans, Arial, sans-serif">,</font><code><a href="/zh-cn/JavaScript/Reference/Global_Objects/Array/forEach" title="Array forEach method">forEach</a></code><font face="Open Sans, Arial, sans-serif">或</font><code><a href="/zh-cn/JavaScript/Reference/Global_Objects/Array/pop" title="Array pop method">pop</a></code>。</li>
+ <li><code>arguments</code>对象不是一个真正的数组,而剩余参数是真正的 <code><a href="/zh-cn/JavaScript/Reference/Global_Objects/Array" title="Array">Array</a></code>实例,也就是说你能够在它上面直接使用所有的数组方法,比如 <code><a href="/zh-cn/JavaScript/Reference/Global_Objects/Array/sort" title="Array sort method">sort</a></code>,<code><a href="/zh-cn/JavaScript/Reference/Global_Objects/Array/map" title="Array map method">map</a></code>,<code><a href="/zh-cn/JavaScript/Reference/Global_Objects/Array/forEach" title="Array forEach method">forEach</a></code>或<code><a href="/zh-cn/JavaScript/Reference/Global_Objects/Array/pop" title="Array pop method">pop</a></code>。</li>
<li><code>arguments</code>对象还有一些附加的属性 (如<code>callee</code>属性)。</li>
</ul>
diff --git a/files/zh-cn/web/javascript/reference/functions/set/index.html b/files/zh-cn/web/javascript/reference/functions/set/index.html
index 2623cf4781..ce864843d1 100644
--- a/files/zh-cn/web/javascript/reference/functions/set/index.html
+++ b/files/zh-cn/web/javascript/reference/functions/set/index.html
@@ -53,7 +53,7 @@ translation_of: Web/JavaScript/Reference/Functions/set
<h3 id="Example_Defining_a_getter_with_the_get_operator" name="Example:_Defining_a_getter_with_the_get_operator">在对象初始化时定义 setter</h3>
-<p>这将定义一个对象 <code><font face="consolas, Liberation Mono, courier, monospace">language</font></code> 的伪属性<code>current</code>,当<code>current</code>被分配一个值时,将使用该值更新<code>log</code>:</p>
+<p>这将定义一个对象 <code>language</code> 的伪属性<code>current</code>,当<code>current</code>被分配一个值时,将使用该值更新<code>log</code>:</p>
<pre class="brush: js">const language = {
set current(name) {
diff --git a/files/zh-cn/web/javascript/reference/global_objects/aggregateerror/index.html b/files/zh-cn/web/javascript/reference/global_objects/aggregateerror/index.html
index ff68e4fc49..c9578649f5 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/aggregateerror/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/aggregateerror/index.html
@@ -7,7 +7,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/AggregateError
<p>{{JSRef}}{{Draft}}{{SeeCompatTable}}</p>
</blockquote>
-<p><code><strong>AggregateError</strong></code><font><font>当多个错误​​需要包装在一个错误中时,</font><font>该</font><font>对象表示一个错误。</font></font></p>
+<p><code><strong>AggregateError</strong></code>当多个错误​​需要包装在一个错误中时,该对象表示一个错误。</p>
<h2 id="语法">语法</h2>
@@ -22,15 +22,15 @@ translation_of: Web/JavaScript/Reference/Global_Objects/AggregateError
<dd>AggregateError错误的提示信息。</dd>
</dl>
-<h2 id="描述"><font><font>描述</font></font></h2>
+<h2 id="描述">描述</h2>
-<p><font><font>一个</font></font><code>AggregateError</code><font><font>当需要由操作报告多个错误被抛出,例如通过</font></font><a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Promise/any"><code>Promise.any()</code></a><font><font>,在传递给它的所有</font></font><a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Promise/any"><code>Promise</code></a><font><font>拒绝。</font></font></p>
+<p>一个<code>AggregateError</code>当需要由操作报告多个错误被抛出,例如通过<a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Promise/any"><code>Promise.any()</code></a>,在传递给它的所有<a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Promise/any"><code>Promise</code></a>拒绝。</p>
<h2 id="属性">属性</h2>
<dl>
<dt><code>AggregateError.prototype</code></dt>
- <dd><code>AggregateError</code><font><font>的原</font></font><font><font>型</font></font></dd>
+ <dd><code>AggregateError</code>的原型</dd>
</dl>
<h2 id="AggregateError_实例">AggregateError 实例</h2>
@@ -41,14 +41,14 @@ translation_of: Web/JavaScript/Reference/Global_Objects/AggregateError
<dt><code>AggregateError.prototype.constructor</code></dt>
<dd>指定创建实例原型的函数。</dd>
<dt>{{JSxRef("Error.prototype.message", "AggregateError.prototype.message")}}</dt>
- <dd><font><font>错误消息,默认为</font></font><code>""</code><font><font>。</font></font></dd>
+ <dd>错误消息,默认为<code>""</code>。</dd>
<dt>{{JSxRef("Error.prototype.name", "AggregateError.prototype.name")}}</dt>
- <dd><font><font>错误名称,默认为</font></font><code>"AggregateError"</code><font><font>。</font></font></dd>
+ <dd>错误名称,默认为<code>"AggregateError"</code>。</dd>
</dl>
<h2 id="示例">示例</h2>
-<h3 id="捕获一个AggregateError"><font face="x-locale-heading-primary, zillaslab, Palatino, Palatino Linotype, x-locale-heading-secondary, serif">捕获一个</font>AggregateError</h3>
+<h3 id="捕获一个AggregateError">捕获一个AggregateError</h3>
<pre class="brush: js; notranslate">Promise.any([
Promise.reject(new Error("some error")),
diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/@@iterator/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/@@iterator/index.html
index 31fe03d8b1..ee65eecc73 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/array/@@iterator/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/array/@@iterator/index.html
@@ -29,7 +29,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/@@iterator
<h2 id="示例">示例</h2>
-<h3 id="使用_for...of_循环进行迭代"><font face="Open Sans, Arial, sans-serif">使用 </font><code>for...of</code> 循环进行迭代</h3>
+<h3 id="使用_for...of_循环进行迭代">使用 <code>for...of</code> 循环进行迭代</h3>
<pre class="brush: js">var arr = ['a', 'b', 'c', 'd', 'e'];
var eArr = arr[Symbol.iterator]();
diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/from/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/from/index.html
index 28e693f567..8cab100d7c 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/array/from/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/array/from/index.html
@@ -49,7 +49,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/from
<li><a href="/zh-CN/docs/Web/JavaScript/Guide/iterable">可迭代对象</a>(可以获取对象中的元素,如 Map和 Set 等)</li>
</ul>
-<p><code>Array.from()</code> 方法有一个可选参数 <code>mapFn</code>,让你可以在最后生成的数组上再执行一次 {{jsxref("Array.prototype.map", "map")}} 方法后再返回。也就是说<code> Array.from(obj, mapFn, thisArg) </code>就相当于<code> Array.from(obj).map(mapFn, thisArg),</code> 除非创建的不是可用的中间数组。 这对一些数组的子类<code>,</code>如 <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays">typed arrays</a><font face="Consolas, Liberation Mono, Courier, monospace"> 来说很重要,</font> 因为中间数组的值在调用 map() 时需要是适当的类型。</p>
+<p><code>Array.from()</code> 方法有一个可选参数 <code>mapFn</code>,让你可以在最后生成的数组上再执行一次 {{jsxref("Array.prototype.map", "map")}} 方法后再返回。也就是说<code> Array.from(obj, mapFn, thisArg) </code>就相当于<code> Array.from(obj).map(mapFn, thisArg),</code> 除非创建的不是可用的中间数组。 这对一些数组的子类<code>,</code>如 <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays">typed arrays</a> 来说很重要, 因为中间数组的值在调用 map() 时需要是适当的类型。</p>
<p><code>from()</code> 的 <code>length</code> 属性为 1 ,即 <code>Array.from.length === 1</code>。</p>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/tolocalestring/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/tolocalestring/index.html
index 38b9c01c94..729e537627 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/array/tolocalestring/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/array/tolocalestring/index.html
@@ -15,9 +15,9 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/toLocaleString
<h2 id="Syntax" name="Syntax">语法</h2>
-<pre class="syntaxbox"><font face="consolas, Liberation Mono, courier, monospace">arr.toLocaleString([locales[,options]]);</font></pre>
+<pre class="syntaxbox"><code>arr.toLocaleString([locales[,options]]);</code></pre>
-<h3 id="参数"><font face="consolas, Liberation Mono, courier, monospace">参数</font></h3>
+<h3 id="参数">参数</h3>
<dl>
<dt><code>locales</code> {{optional_inline}}</dt>
@@ -26,7 +26,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/toLocaleString
<dd>一个可配置属性的对象,对于数字 {{jsxref("Number.prototype.toLocaleString()")}},对于日期{{jsxref("Date.prototype.toLocaleString()")}}.</dd>
</dl>
-<h3 id="返回值"><font face="consolas, Liberation Mono, courier, monospace">返回值</font></h3>
+<h3 id="返回值">返回值</h3>
<p>表示数组元素的字符串。</p>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/arraybuffer/index.html b/files/zh-cn/web/javascript/reference/global_objects/arraybuffer/index.html
index a7d35e161b..0dde8cd36a 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/arraybuffer/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/arraybuffer/index.html
@@ -40,7 +40,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/ArrayBuffer
<h3 id="异常">异常</h3>
-<p>如果 <font face="consolas, Liberation Mono, courier, monospace">length</font> 大于 {{jsxref("Number.MAX_SAFE_INTEGER")}}(&gt;= 2 ** 53)或为负数,则抛出一个  {{jsxref("RangeError")}}  异常。</p>
+<p>如果 <code>length</code> 大于 {{jsxref("Number.MAX_SAFE_INTEGER")}}(&gt;= 2 ** 53)或为负数,则抛出一个  {{jsxref("RangeError")}}  异常。</p>
<h2 id="描述">描述</h2>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/atomics/add/index.html b/files/zh-cn/web/javascript/reference/global_objects/atomics/add/index.html
index 256ddc4019..c81314d28a 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/atomics/add/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/atomics/add/index.html
@@ -41,7 +41,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Atomics/add
<ul>
<li>假如 <code>typedArray</code> 不是允许的整型之一,则抛出 {{jsxref("TypeError")}}。</li>
- <li><code><font face="Open Sans, Arial, sans-serif">假如 </font>typedArray</code> 不是一个shared typed array类型,则抛出 {{jsxref("TypeError")}}。</li>
+ <li><code>假如 typedArray</code> 不是一个shared typed array类型,则抛出 {{jsxref("TypeError")}}。</li>
<li>如果 <code>index</code> 超出了 <code>typedArray 的边界,则抛出</code> {{jsxref("RangeError")}}。</li>
</ul>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/atomics/and/index.html b/files/zh-cn/web/javascript/reference/global_objects/atomics/and/index.html
index 87754093bc..32f5a8bbd4 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/atomics/and/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/atomics/and/index.html
@@ -41,7 +41,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Atomics/and
<ul>
<li>假如 <code>typedArray</code> 不是允许的整型之一,则抛出 {{jsxref("TypeError")}}。</li>
- <li><code><font face="Open Sans, Arial, sans-serif">假如 </font>typedArray</code> 不是一个贡献的 typed array,则抛出 {{jsxref("TypeError")}}。</li>
+ <li><code>假如 typedArray</code> 不是一个贡献的 typed array,则抛出 {{jsxref("TypeError")}}。</li>
<li>如果 <code>index</code> 超出了 <code>typedArray 的边界,则抛出</code> {{jsxref("RangeError")}}。</li>
</ul>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/atomics/compareexchange/index.html b/files/zh-cn/web/javascript/reference/global_objects/atomics/compareexchange/index.html
index 1883180411..33aa8efea5 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/atomics/compareexchange/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/atomics/compareexchange/index.html
@@ -42,7 +42,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Atomics/compareExchange
<ul>
<li>假如 <code>typedArray</code> 不是允许的整型之一,则抛出 {{jsxref("TypeError")}}。</li>
- <li><code><font face="Open Sans, Arial, sans-serif">假如 </font>typedArray</code> 不是一个贡献的 typed array,则抛出 {{jsxref("TypeError")}}。</li>
+ <li><code>假如 typedArray</code> 不是一个贡献的 typed array,则抛出 {{jsxref("TypeError")}}。</li>
<li>如果 <code>index</code> 超出了 <code>typedArray 的边界,则抛出</code> {{jsxref("RangeError")}}。</li>
</ul>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/atomics/exchange/index.html b/files/zh-cn/web/javascript/reference/global_objects/atomics/exchange/index.html
index 4502bf8a52..8ebff422a1 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/atomics/exchange/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/atomics/exchange/index.html
@@ -42,7 +42,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Atomics/exchange
<ul>
<li>假如 <code>typedArray</code> 不是允许的整型之一,则抛出 {{jsxref("TypeError")}}。</li>
- <li><code><font face="Open Sans, Arial, sans-serif">假如 </font>typedArray</code> 不是一个贡献的 typed array,则抛出 {{jsxref("TypeError")}}。</li>
+ <li><code>假如 typedArray</code> 不是一个贡献的 typed array,则抛出 {{jsxref("TypeError")}}。</li>
<li>如果 <code>index</code> 超出了 <code>typedArray 的边界,则抛出</code> {{jsxref("RangeError")}}。</li>
</ul>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/atomics/load/index.html b/files/zh-cn/web/javascript/reference/global_objects/atomics/load/index.html
index 6e6ca0c1e9..17c705df5a 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/atomics/load/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/atomics/load/index.html
@@ -22,7 +22,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Atomics/load
<dt><code>typedArray</code></dt>
<dd>一个共享的整型数组。可以是 {{jsxref("Int8Array")}},{{jsxref("Uint8Array")}},{{jsxref("Int16Array")}},{{jsxref("Uint16Array")}},{{jsxref("Int32Array")}} 或 {{jsxref("Uint32Array")}}.</dd>
<dt><code>index</code></dt>
- <dd>在 <code>typedArray</code> 中需要加载的位置<font face="consolas, Liberation Mono, courier, monospace">。</font></dd>
+ <dd>在 <code>typedArray</code> 中需要加载的位置。</dd>
</dl>
<h3 id="返回值">返回值</h3>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/date/setmonth/index.html b/files/zh-cn/web/javascript/reference/global_objects/date/setmonth/index.html
index 465b3a486e..fecc2f00a1 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/date/setmonth/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/date/setmonth/index.html
@@ -35,7 +35,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/setMonth
<p>如果不指定 <code>dayValue</code> 参数,就会使用 {{jsxref("Date.getDate", "getDate")}} 方法的返回值。</p>
-<p>如果有一个指定的参数超出了合理范围,<code>setMonth</code> 会相应地更新日期对象中的日期信息。<font face="Courier New, Andale Mono, monospace">例如,为</font> <code>monthValue</code> 指定 15,则年份会加 1,月份将会使用 3。</p>
+<p>如果有一个指定的参数超出了合理范围,<code>setMonth</code> 会相应地更新日期对象中的日期信息。例如,为 <code>monthValue</code> 指定 15,则年份会加 1,月份将会使用 3。</p>
<h2 id="Examples" name="Examples">例子</h2>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/date/setutcseconds/index.html b/files/zh-cn/web/javascript/reference/global_objects/date/setutcseconds/index.html
index e8b20e6fb6..cc59e7b167 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/date/setutcseconds/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/date/setutcseconds/index.html
@@ -7,7 +7,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/setUTCSeconds
---
<div>{{JSRef}}</div>
-<p><code><font face="Open Sans, Arial, sans-serif">此 </font><strong>setUTCSeconds()</strong></code> 方法为一个依据国际通用时间的特定日期设置秒数。</p>
+<p><code>此 <strong>setUTCSeconds()</strong></code> 方法为一个依据国际通用时间的特定日期设置秒数。</p>
<div>{{EmbedInteractiveExample("pages/js/date-setutcseconds.html")}}</div>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/date/tolocalestring/index.html b/files/zh-cn/web/javascript/reference/global_objects/date/tolocalestring/index.html
index 3c9ecb2a58..e351f33c33 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/date/tolocalestring/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/date/tolocalestring/index.html
@@ -21,7 +21,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/toLocaleString
<p>{{page('zh-CN/docs/JavaScript/Reference/Global_Objects/DateTimeFormat','Parameters')}}</p>
-<p>每个日期时间组件的默认值都是undefined, 但是如果 <code>weekday</code>, <code>year</code>, <code>month</code>, <code>day</code>, <code>hour</code>, <code>minute</code>, <code>second</code> 属性都是 <code>undefined</code>, 那么 <code>year</code>, <code>month</code>, <code>day</code>, <code>hour</code>, <code>minute<font face="Open Sans, Arial, sans-serif"> 和 </font></code><code>second</code> 的值都被认为是 "numeric".</p>
+<p>每个日期时间组件的默认值都是undefined, 但是如果 <code>weekday</code>, <code>year</code>, <code>month</code>, <code>day</code>, <code>hour</code>, <code>minute</code>, <code>second</code> 属性都是 <code>undefined</code>, 那么 <code>year</code>, <code>month</code>, <code>day</code>, <code>hour</code>, <code>minute 和 </code><code>second</code> 的值都被认为是 "numeric".</p>
<h3 id="返回值">返回值</h3>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/int32array/index.html b/files/zh-cn/web/javascript/reference/global_objects/int32array/index.html
index a1b8db6fc9..74c3bdb650 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/int32array/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/int32array/index.html
@@ -195,7 +195,7 @@ var z = new Int32Array(buffer, 0, 4);
<td>5.1</td>
</tr>
<tr>
- <td><font face="consolas, Liberation Mono, courier, monospace">新</font> 的特性</td>
+ <td>新 的特性</td>
<td>{{CompatUnknown}}</td>
<td>{{ CompatGeckoDesktop(44) }}</td>
<td>{{CompatUnknown}}</td>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/intl/collator/index.html b/files/zh-cn/web/javascript/reference/global_objects/intl/collator/index.html
index 640bb0b9e4..44f6ab11f9 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/intl/collator/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/intl/collator/index.html
@@ -5,7 +5,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Intl/Collator
---
<div>{{JSRef}}</div>
-<p><strong><code>Intl.Collator<font face="Open Sans, Arial, sans-serif"> </font></code></strong><code>是用于语言敏感字符串比较的 collators构造函数。</code></p>
+<p><strong><code>Intl.Collator </code></strong><code>是用于语言敏感字符串比较的 collators构造函数。</code></p>
<div>{{EmbedInteractiveExample("pages/js/intl-collator.html")}}</div>
@@ -52,7 +52,7 @@ Intl.Collator.call(<var>this</var>[, <var>locales</var>[, <var>options</var>]])<
<li><code>"variant"</code>: 字符串的字母,口音和其他变音符号、或不同大小写比较不相等。 也可以考虑其他差异。例如: <code>a ≠ b</code>, <code>a ≠ á</code>, <code>a ≠ A</code>.</li>
</ul>
- <p><code>"variant" 的默认值使用<font face="Open Sans, Arial, sans-serif"> </font></code><code>"sort"</code>; 它的 locale 依赖于使用 <code>"search"</code>.</p>
+ <p><code>"variant" 的默认值使用 </code><code>"sort"</code>; 它的 locale 依赖于使用 <code>"search"</code>.</p>
</dd>
<dt><code>ignore­Punctua­tion</code></dt>
<dd>是否应忽略标点。 可能的值为 true 和 false; 默认值为 false。</dd>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/intl/datetimeformat/index.html b/files/zh-cn/web/javascript/reference/global_objects/intl/datetimeformat/index.html
index eb886cb8b8..a6c1e7c5dc 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/intl/datetimeformat/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/intl/datetimeformat/index.html
@@ -169,7 +169,7 @@ console.log(new Intl.DateTimeFormat(['ban', 'id']).format(date));
<h3 id="使用options">使用<code>options</code></h3>
-<p>可以使用 <code>options </code>参数来自定义 <font face="Consolas, Liberation Mono, Courier, monospace">日期时间格式化</font>方法返回的字符串。</p>
+<p>可以使用 <code>options </code>参数来自定义 日期时间格式化方法返回的字符串。</p>
<pre class="brush: js">var date = new Date(Date.UTC(2012, 11, 20, 3, 0, 0));
diff --git a/files/zh-cn/web/javascript/reference/global_objects/intl/numberformat/index.html b/files/zh-cn/web/javascript/reference/global_objects/intl/numberformat/index.html
index 51520c2b83..5e49aa512d 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/intl/numberformat/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/intl/numberformat/index.html
@@ -186,7 +186,7 @@ console.log(new Intl.NumberFormat('en-IN', { maximumSignificantDigits: 3 }).form
</pre>
-<h3 id="Using_notation">Using <font face="consolas, Liberation Mono, courier, monospace">notation</font></h3>
+<h3 id="Using_notation">Using <code>notation</code></h3>
<pre><code>console.log(new Intl.NumberFormat('en-US', { notation: "scientific" }).format(987654321));
// → 9.877E8
diff --git a/files/zh-cn/web/javascript/reference/global_objects/intl/pluralrules/index.html b/files/zh-cn/web/javascript/reference/global_objects/intl/pluralrules/index.html
index ede977838a..77f7426002 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/intl/pluralrules/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/intl/pluralrules/index.html
@@ -3,75 +3,75 @@ title: Intl.PluralRules
slug: Web/JavaScript/Reference/Global_Objects/Intl/PluralRules
translation_of: Web/JavaScript/Reference/Global_Objects/Intl/PluralRules
---
-<div><font><font><font><font>{{JSRef}}</font></font></font></font></div>
+<div>{{JSRef}}</div>
<p>该<strong><code>Intl.PluralRules</code></strong>对象是用于启用多种敏感格式和多种语言规则的构造函数。</p>
-<h2 id="句法"><font><font><font><font>句法</font></font></font></font></h2>
+<h2 id="句法">句法</h2>
<pre class="syntaxbox"><code>new Intl.PluralRules([<var>locales</var>[, <var>options</var>]]) Intl.PluralRules.call(<var>this</var>[, <var>locales</var>[, <var>options</var>]])
</code></pre>
-<h3 id="参数"><font><font><font><font>参数</font></font></font></font></h3>
+<h3 id="参数">参数></h3>
<dl>
<dt><code>locales</code></dt>
<dd>
- <p><font><font><font><font>可选的。</font></font></font><font><font><font>一个带有BCP 47语言标签的字符串或这种字符串的数组。</font></font></font><font><font><font>有关参数的一般形式和解释</font></font></font></font><code>locales</code><font><font><font><font>,请参阅</font></font></font></font>{{jsxref("Intl", "Intl page", "#Locale_identification_and_negotiation", 1)}}<font><font><font><font>。</font></font></font></font></p>
+ <p>可选的。一个带有BCP 47语言标签的字符串或这种字符串的数组。有关参数的一般形式和解释<code>locales</code>,请参阅{{jsxref("Intl", "Intl page", "#Locale_identification_and_negotiation", 1)}}。</p>
</dd>
<dt><code>options</code></dt>
<dd>
- <p><font><font><font><font>可选的,</font></font></font><font><font><font>具有部分或全部以下属性的对象:</font></font></font></font></p>
+ <p>可选的,具有部分或全部以下属性的对象:</p>
<dl>
<dt><code>localeMatcher</code></dt>
- <dd><font><font><font><font>要使用的语言环境匹配算法。</font></font></font><font><font><font>可能的值是</font></font></font></font><code>"lookup"</code><font><font><font><font>和</font></font></font></font><code>"best fit"</code><font><font><font><font>; </font></font></font><font><font><font>默认是</font></font></font></font><code>"best fit"</code><font><font><font><font>。</font></font></font><font><font><font>有关此选项的信息,请参阅</font></font></font></font>{{jsxref("Global_Objects/Intl", "Intl page", "#Locale_negotiation", 1)}}<font><font><font><font>。</font></font></font></font></dd>
+ <dd>要使用的语言环境匹配算法。可能的值是<code>"lookup"</code>和<code>"best fit"</code>; 默认是<code>"best fit"</code>。有关此选项的信息,请参阅{{jsxref("Global_Objects/Intl", "Intl page", "#Locale_negotiation", 1)}}。</dd>
<dt><code>type</code></dt>
- <dd><font><font><font><font>要使用的类型。</font></font></font><font><font><font>可能的值是:</font></font></font></font>
+ <dd>要使用的类型。可能的值是:
<ul>
- <li><code>"cardinal"</code><font><font><font><font>对于基数(指的是事物的数量)。</font></font></font><font><font><font>这是默认值。</font></font></font></font></li>
- <li><code>"ordinal"</code><font><font><font><font> 对于序号(指的是事物的排序或排名,例如英文中的“1st”,“2nd”,“3rd”)。</font></font></font></font></li>
+ <li><code>"cardinal"</code>对于基数(指的是事物的数量)。这是默认值。</li>
+ <li><code>"ordinal"</code> 对于序号(指的是事物的排序或排名,例如英文中的“1st”,“2nd”,“3rd”)。</li>
</ul>
</dd>
</dl>
</dd>
</dl>
-<h2 id="描述"><font><font><font><font>描述</font></font></font></font></h2>
+<h2 id="描述">描述</h2>
-<h3 id="属性"><font><font><font><font>属性</font></font></font></font></h3>
+<h3 id="属性">属性</h3>
<dl>
<dt>{{jsxref("PluralRules.prototype", "Intl.PluralRules.prototype")}}</dt>
- <dd><font><font><font><font>允许为所有对象添加属性。</font></font></font></font></dd>
+ <dd>允许为所有对象添加属性。</dd>
</dl>
-<h3 id="方法"><font><font><font><font>方法</font></font></font></font></h3>
+<h3 id="方法">方法</h3>
<dl>
<dt>{{jsxref("PluralRules.supportedLocalesOf", "Intl.PluralRules.supportedLocalesOf()")}}</dt>
- <dd><font><font><font><font>返回一个数组,其中包含提供的语言环境的支持,而不必回退到运行时的默认语言环境。</font></font></font></font></dd>
+ <dd>返回一个数组,其中包含提供的语言环境的支持,而不必回退到运行时的默认语言环境。</dd>
</dl>
-<h2 id="PluralRules_实例"><code>PluralRules</code><font><font><font><font> 实例</font></font></font></font></h2>
+<h2 id="PluralRules_实例"><code>PluralRules</code> 实例</h2>
-<h3 id="属性_2"><font><font><font><font>属性</font></font></font></font></h3>
+<h3 id="属性_2">属性</h3>
-<p><code>PluralRules</code><font><font><font><font> 实例从其原型继承了以下属性:</font></font></font></font></p>
+<p><code>PluralRules</code> 实例从其原型继承了以下属性:</p>
<div>{{page('/en-US/docs/Web/JavaScript/Reference/Global_Objects/PluralRules/prototype', 'Properties')}}</div>
-<h3 id="方法_2"><font><font><font><font>方法</font></font></font></font></h3>
+<h3 id="方法_2">方法></h3>
-<p><code>PluralRules</code><font><font><font><font> 实例从它们的原型继承了以下方法:</font></font></font></font></p>
+<p><code>PluralRules</code> 实例从它们的原型继承了以下方法:</p>
<div>{{page('/en-US/docs/Web/JavaScript/Reference/Global_Objects/PluralRules/prototype', 'Methods')}}</div>
-<h2 id="例子"><font><font><font><font>例子</font></font></font></font></h2>
+<h2 id="例子">例子</h2>
-<h3 id="基本用法"><font><font><font><font>基本用法</font></font></font></font></h3>
+<h3 id="基本用法">基本用法
-<p><font><font><font><font>在没有指定语言环境的基本使用中</font><font>,返回默认语言环境中的格式化字符串和默认选项</font><font>。</font></font></font><font><font><font>这有助于区分单数和复数形式,例如“dog”和“dogs”。</font></font></font></font></p>
+<p>在没有指定语言环境的基本使用中,返回默认语言环境中的格式化字符串和默认选项。这有助于区分单数和复数形式,例如“dog”和“dogs”。</p>
<pre class="brush: js">var pr = new Intl.PluralRules();
@@ -84,9 +84,9 @@ pr.select(1);
pr.select(2);
// → 'other' if in US English locale</pre>
-<h3 id="运用_locales"><font><font><font><font>运用 </font></font></font></font><code>locales</code></h3>
+<h3 id="运用_locales">运用 <code>locales</code></h3>
-<p><font><font><font><font>这个例子展示了局部复数规则的一些变化。</font></font></font><font><font><font>为了获得应用程序用户界面中使用的语言格式,请确保使用</font></font></font></font><code>locales</code><font><font><font><font>参数</font></font></font><font><font><font>指定该语言(可能还有一些备用语言)</font></font></font><font><font><font>:</font></font></font></font></p>
+<p>这个例子展示了局部复数规则的一些变化。为了获得应用程序用户界面中使用的语言格式,请确保使用<code>locales</code>参数指定该语言(可能还有一些备用语言)>
<pre class="brush: js">// Arabic has different plural rules
@@ -101,9 +101,9 @@ new Intl.PluralRules('ar-EG').select(6);
new Intl.PluralRules('ar-EG').select(18);
// → 'many'</pre>
-<h3 id="运用_options"><font><font><font><font>运用 </font></font></font></font><code>options</code></h3>
+<h3 id="运用_options">运用
-<p><font><font><font><font>可以查询查询结果使用</font></font></font></font><code>options</code><font><font><font><font>参数</font></font></font><font><font><font>进行自定义,该</font></font></font><font><font><font>参数具有一个</font></font></font></font><code>type</code><font><font><font><font>您可以设置的</font></font></font><font><font><font>属性</font></font></font></font><code>ordinal</code><font><font><font><font>。</font></font></font><font><font><font>这对计算序数指标很有用,例如“第一”,“第二”,“第三”,“第四”,“42”等。</font></font></font></font></p>
+<p>可以查询查询结果使用><code>options</code>参数进行自定义,该参数具有一个<code>type</code>您可以设置的属性<code>ordinal</code>。这对计算序数指标很有用,例如“第一”,“第二”,“第三”,“第四”,“42”等。</p>
<pre class="brush: js">var pr = new Intl.PluralRules('en-US', { type: 'ordinal' });
@@ -125,19 +125,19 @@ pr.select(42);
<table class="standard-table">
<tbody>
<tr>
- <th scope="col"><font><font><font><font>规范</font></font></font></font></th>
- <th scope="col"><font><font><font><font>状态</font></font></font></font></th>
- <th scope="col"><font><font><font><font>评论</font></font></font></font></th>
+ <th scope="col">规范</th>
+ <th scope="col">状态</th>
+ <th scope="col">评论</th>
</tr>
<tr>
- <td><a href="https://rawgit.com/caridy/intl-plural-rules-spec/master/index.html"><font><font><font><font>国际复数规则草案</font></font></font></font></a></td>
- <td><font><font><font><font>{{Spec2('ES Int Draft')}}</font></font></font></font></td>
- <td><font><font><font><font>初始定义</font></font></font></font></td>
+ <td><a href="https://rawgit.com/caridy/intl-plural-rules-spec/master/index.html">国际复数规则草案</a></td>
+ <td>{{Spec2('ES Int Draft')}}</td>
+ <td>初始定义</td>
</tr>
</tbody>
</table>
-<h2 id="浏览器兼容性"><font><font><font><font>浏览器兼容性</font></font></font></font></h2>
+<h2 id="浏览器兼容性">浏览器兼容性</h2>
<div>
@@ -145,6 +145,6 @@ pr.select(42);
<p>{{Compat("javascript.builtins.Intl.PluralRules")}}</p>
</div>
-<h2 id="也可以看看"><font><font><font><font>也可以看看</font></font></font></font></h2>
+<h2 id="也可以看看">也可以看看</h2>
<div>{{page('/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl', 'See_also')}}</div>
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 772c25bc8e..fac7d74714 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
@@ -36,7 +36,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/isNaN
<h3 id="Origin_of_NaN_values" name="Origin_of_NaN_values"><code>NaN值</code>的产生</h3>
-<p><font face="Courier New, Andale Mono, monospace">当算术运算返回一个未定义的或无法表示的值时,<code>NaN</code>就产生了。但是,<code>NaN</code>并不一定用于表示某些值超出表示范围的情况。</font><font face="Consolas, Monaco, 'Andale Mono', monospace">将某些不能强制转换为数值的非数值转换为数值的时候,也会得到<code>NaN</code></font>。</p>
+<p>当算术运算返回一个未定义的或无法表示的值时,<code>NaN</code>就产生了。但是,<code>NaN</code>并不一定用于表示某些值超出表示范围的情况。将某些不能强制转换为数值的非数值转换为数值的时候,也会得到<code>NaN</code>。</p>
<p>例如,0 除以0会返回<code>NaN </code>—— 但是其他数除以0则不会返回<code>NaN</code>。</p>
@@ -44,7 +44,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/isNaN
<p>如果<code>isNaN</code>函数的参数不是<code>Number</code>类型, <code>isNaN</code>函数会首先尝试将这个参数转换为数值,然后才会对转换后的结果是否是{{jsxref("NaN")}}进行判断。因此,对于能被强制转换为有效的非NaN数值来说(空字符串和布尔值分别会被强制转换为数值0和1),返回<code>false</code>值也许会让人感觉莫名其妙。比如说,空字符串就明显“不是数值(not a number)”。这种怪异行为起源于:"不是数值(not a number)"在基于IEEE-754数值的浮点计算体制中代表了一种特定的含义。<code>isNaN</code>函数其实等同于回答了这样一个问题:被测试的值在被强制转换成数值时会不会返回IEEE-754​中所谓的“不是数值(not a number)”。</p>
-<p>下一个版本的ECMAScript (ES2015)包含{{jsxref("Number.isNaN()")}}函数。通过<code>Number.isNaN(x)</code>来检测变量<code>x</code>是否是一个<code>NaN</code><font face="'Open Sans', sans-serif">将会是一种可靠的做法</font>。然而,在缺少<code>Number.isNaN</code>函数的情况下, 通过表达式<code>(x != x)</code> 来检测<code>变量x</code>是否是<code>NaN</code>会更加可靠。</p>
+<p>下一个版本的ECMAScript (ES2015)包含{{jsxref("Number.isNaN()")}}函数。通过<code>Number.isNaN(x)</code>来检测变量<code>x</code>是否是一个<code>NaN</code>将会是一种可靠的做法。然而,在缺少<code>Number.isNaN</code>函数的情况下, 通过表达式<code>(x != x)</code> 来检测<code>变量x</code>是否是<code>NaN</code>会更加可靠。</p>
<p>一个<code>isNaN</code>的 polyfill 可以理解为(这个polyfill利用了<code>NaN</code>自身永不相等于自身这一特征 ):</p>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/map/index.html b/files/zh-cn/web/javascript/reference/global_objects/map/index.html
index 3a4c41dcdd..675b0f1b1b 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/map/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/map/index.html
@@ -118,7 +118,7 @@ browser-compat: javascript.builtins.Map
<h2 id="Map_实例"><code>Map</code> 实例</h2>
-<p><font face="Open Sans, Arial, sans-serif">所有的 </font><code>Map</code> 对象实例都会继承 {{jsxref("Map.prototype")}}。</p>
+<p>所有的 <code>Map</code> 对象实例都会继承 {{jsxref("Map.prototype")}}。</p>
<h3 id="属性_2">属性</h3>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/abs/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/abs/index.html
index 60747a871d..c1f41d7202 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/math/abs/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/math/abs/index.html
@@ -22,7 +22,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math/abs
<h2 id="Description" name="Description">说明</h2>
-<p><code><font face="Open Sans, sans-serif">由于 </font>Math.abs()</code> <code>是</code> <code>Math</code> 中的一个静态方法,你应该通过 <code>Math.abs()</code> <code>调用。</code>(Math 不是构造器)</p>
+<p><code>由于 Math.abs()</code> <code>是</code> <code>Math</code> 中的一个静态方法,你应该通过 <code>Math.abs()</code> <code>调用。</code>(Math 不是构造器)</p>
<h2 id="Examples" name="Examples">示例</h2>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/cbrt/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/cbrt/index.html
index 96d8b00a37..402ebeb052 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/math/cbrt/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/math/cbrt/index.html
@@ -50,7 +50,7 @@ Math.cbrt(Infinity); // Infinity
Math.cbrt(null); // 0
Math.cbrt(2); // 1.2599210498948734</pre>
-<h2 id="Polyfill"><font face="consolas, Liberation Mono, courier, monospace">Polyfill</font></h2>
+<h2 id="Polyfill">Polyfill</h2>
<p>为了与旧版浏览器兼容, 可使用下方函数模拟cbrt():</p>
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>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/index.html
index 9e20355b94..7e89881960 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/number/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/number/index.html
@@ -13,7 +13,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Number
<p>JavaScript的<code>Number</code>类型为<a href="https://en.wikipedia.org/wiki/Floating-point_arithmetic">双精度IEEE 754 64位浮点</a>类型。</p>
-<p>最近出了stage3{{jsxref("BigInt")}} <font><font>任意精度数字类型,已经进入stage3规范</font></font></p>
+<p>最近出了stage3{{jsxref("BigInt")}} 任意精度数字类型,已经进入stage3规范</p>
<h2 id="Syntax" name="Syntax">语法</h2>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/tofixed/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/tofixed/index.html
index 03864f8c9e..00c5e18508 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/number/tofixed/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/number/tofixed/index.html
@@ -38,7 +38,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Number/toFixed
<h2 id="描述">描述</h2>
-<p><font face="Open Sans, sans-serif">一个数值的字符串表现形式,不使用指数记数法,而是在小数点后有 </font>digits<font face="Open Sans, sans-serif">(注:digits具体值取决于传入参数)位数字。</font>该数值在必要时进行四舍五入,另外在必要时会用 0 来填充小数部分,以便小数部分有指定的位数。 如果数值大于 1e+21,该方法会简单调用 {{jsxref("Number.prototype.toString()")}}并返回一个指数记数法格式的字符串。</p>
+<p>一个数值的字符串表现形式,不使用指数记数法,而是在小数点后有 digits(注:digits具体值取决于传入参数)位数字。该数值在必要时进行四舍五入,另外在必要时会用 0 来填充小数部分,以便小数部分有指定的位数。 如果数值大于 1e+21,该方法会简单调用 {{jsxref("Number.prototype.toString()")}}并返回一个指数记数法格式的字符串。</p>
<div class="warning">
<p><strong>Warning:</strong> 浮点数不能精确地用二进制表示所有小数。这可能会导致意外的结果,例如 <code>0.1 + 0.2 === 0.3</code> 返回 <code>false</code> .</p>
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>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/parseint/index.html b/files/zh-cn/web/javascript/reference/global_objects/parseint/index.html
index 8f28abb2ae..2bbf25fe98 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/parseint/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/parseint/index.html
@@ -33,7 +33,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/parseInt
<dl>
<dt><code><var>radix</var></code><var> {{optional_inline}}</var></dt>
- <dd>从 <code>2</code> 到 <code>36</code>,表示字符串的基数。例如指定 <font face="consolas, Liberation Mono, courier, monospace">16</font> 表示被解析值是十六进制数。请注意,10不是默认值!</dd>
+ <dd>从 <code>2</code> 到 <code>36</code>,表示字符串的基数。例如指定 <code>16</code> 表示被解析值是十六进制数。请注意,10不是默认值!</dd>
<dd class="blockIndicator warning">文章后面的<a href="#描述">描述</a>解释了当参数 <code>radix</code> 不传时该函数的具体行为。</dd>
</dl>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/promise/allsettled/index.html b/files/zh-cn/web/javascript/reference/global_objects/promise/allsettled/index.html
index d552f10680..a448dfb79b 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/promise/allsettled/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/promise/allsettled/index.html
@@ -13,7 +13,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise/allSettled
<p>当您有多个彼此不依赖的异步任务成功完成时,或者您总是想知道每个<code>promise</code>的结果时,通常使用它。</p>
-<p><font><font>相比之下,</font></font><code><a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Promise/all">Promise.all()</a></code><font><font> 更适合彼此相互依赖或者在其中任何一个<code>reject</code>时立即结束。</font></font></p>
+<p>相比之下,<code><a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Promise/all">Promise.all()</a></code> 更适合彼此相互依赖或者在其中任何一个<code>reject</code>时立即结束。</p>
<div>{{EmbedInteractiveExample("pages/js/promise-allsettled.html")}}</div>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/promise/index.html b/files/zh-cn/web/javascript/reference/global_objects/promise/index.html
index e8ff35c09e..3dd832b401 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/promise/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/promise/index.html
@@ -262,7 +262,7 @@ function testPromise() {
<h2 id="使用_XHR_加载图像">使用 XHR 加载图像</h2>
-<p><font face="Open Sans, sans-serif">另一个用了 </font>Promise <font face="Open Sans, sans-serif">和</font><a href="/en-US/docs/Web/API/XMLHttpRequest"> XMLHttpRequest</a> 加载一个图像的例子可在MDN GitHub<a href="https://github.com/mdn/js-examples/tree/master/promises-test"> promise-test</a> 中找到。 您也可以<a href="https://mdn.github.io/js-examples/promises-test/">看这个实例</a>。每一步都有注释可以让您详细的了解Promise和XHR架构。</p>
+<p>另一个用了 Promise 和<a href="/en-US/docs/Web/API/XMLHttpRequest"> XMLHttpRequest</a> 加载一个图像的例子可在MDN GitHub<a href="https://github.com/mdn/js-examples/tree/master/promises-test"> promise-test</a> 中找到。 您也可以<a href="https://mdn.github.io/js-examples/promises-test/">看这个实例</a>。每一步都有注释可以让您详细的了解Promise和XHR架构。</p>
<h2 id="规范">规范</h2>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/promise/promise/index.html b/files/zh-cn/web/javascript/reference/global_objects/promise/promise/index.html
index e79512fa51..4af6e48f93 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/promise/promise/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/promise/promise/index.html
@@ -19,7 +19,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise/Promise
<dl>
<dt><code>executor</code></dt>
- <dd>这是一个双参函数,参数为<code>resolve<font face="Arial, x-locale-body, sans-serif">和</font>reject</code>。<code>Promise</code>的实现会立即执行<code>executor</code>,并传入<code>resolve<font face="Arial, x-locale-body, sans-serif">和</font>reject</code>函数(<code>Promise</code>构造器将会在返回新对象之前<code>executor</code>)。当<code>resolve</code>和<code>reject</code>函数被调用时,它们分别对promise执行<code>resolve</code>和<code>reject</code>。<code>executor</code>通常会触发一些异步运算,一旦运算成功完成,则<code>resolve</code>掉这个promise,如果出错则<code>reject</code>掉。如果<code>executor</code>函数执行时抛出异常,promise状态会变为<code>rejected</code>。<code>executor</code>的返回值也会被忽略。</dd>
+ <dd>这是一个双参函数,参数为<code>resolve和reject</code>。<code>Promise</code>的实现会立即执行<code>executor</code>,并传入<code>resolve和reject</code>函数(<code>Promise</code>构造器将会在返回新对象之前<code>executor</code>)。当<code>resolve</code>和<code>reject</code>函数被调用时,它们分别对promise执行<code>resolve</code>和<code>reject</code>。<code>executor</code>通常会触发一些异步运算,一旦运算成功完成,则<code>resolve</code>掉这个promise,如果出错则<code>reject</code>掉。如果<code>executor</code>函数执行时抛出异常,promise状态会变为<code>rejected</code>。<code>executor</code>的返回值也会被忽略。</dd>
</dl>
<h2 id="例子">例子</h2>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/promise/race/index.html b/files/zh-cn/web/javascript/reference/global_objects/promise/race/index.html
index ff251633c0..fab2fd64a9 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/promise/race/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/promise/race/index.html
@@ -59,7 +59,7 @@ setTimeout(function(){
// the stack is now empty
// Promise { &lt;state&gt;: "fulfilled", &lt;value&gt;: 33 }</pre>
-<h3 id="使用_Promise.race_–_setTimeout_的示例"><font face="Open Sans, sans-serif">使用 </font>Promise.race –  setTimeout 的示例</h3>
+<h3 id="使用_Promise.race_–_setTimeout_的示例">使用 Promise.race –  setTimeout 的示例</h3>
<pre class="brush: js notranslate">var p1 = new Promise(function(resolve, reject) {
setTimeout(resolve, 500, "one");
diff --git a/files/zh-cn/web/javascript/reference/global_objects/promise/reject/index.html b/files/zh-cn/web/javascript/reference/global_objects/promise/reject/index.html
index f5a8f82156..aff5a4047b 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/promise/reject/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/promise/reject/index.html
@@ -33,7 +33,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise/reject
<h2 id="Description" name="Description">描述</h2>
-<p><font face="Open Sans, sans-serif">静态函数</font><code>Promise.reject</code>返回一个被拒绝的<code>Promise对象</code>。通过使用{{jsxref("Error")}}的实例获取错误原因<code>reason</code>对调试和选择性错误捕捉很有帮助。</p>
+<p>静态函数<code>Promise.reject</code>返回一个被拒绝的<code>Promise对象</code>。通过使用{{jsxref("Error")}}的实例获取错误原因<code>reason</code>对调试和选择性错误捕捉很有帮助。</p>
<h2 id="示例">示例</h2>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/promise/then/index.html b/files/zh-cn/web/javascript/reference/global_objects/promise/then/index.html
index a4180c8e14..d5193c8498 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/promise/then/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/promise/then/index.html
@@ -101,7 +101,7 @@ p1.then(value =&gt; {
<h3 id="链式调用">链式调用</h3>
-<p><font face="Open Sans, sans-serif"><code>then</code> 方法返回</font>一个 <code>Promise</code> 对象,其允许方法链。</p>
+<p><code>then</code> 方法返回一个 <code>Promise</code> 对象,其允许方法链。</p>
<p>你可以传递一个匿名函数给 <code>then</code>,并且,如果它返回一个 <code>Promise</code>,一个等价的 <code>Promise</code> 将暴露给后续的方法链。下面的代码片段使用 <code>setTimout</code> 函数来模拟异步代码操作。</p>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/proxy/proxy/setprototypeof/index.html b/files/zh-cn/web/javascript/reference/global_objects/proxy/proxy/setprototypeof/index.html
index d2b65b1a9c..38dd0cd4d1 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/proxy/proxy/setprototypeof/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/proxy/proxy/setprototypeof/index.html
@@ -49,7 +49,7 @@ original_slug: Web/JavaScript/Reference/Global_Objects/Proxy/handler/setPrototyp
<p>如果违反了下列规则,则proxy将抛出一个{{jsxref("TypeError")}}:</p>
<ul>
- <li><code><font face="Open Sans, arial, x-locale-body, sans-serif">如果 </font>target</code> 不可扩展, 原型参数必须与<code>Object.getPrototypeOf(target)</code> 的值相同.</li>
+ <li><code>如果 target</code> 不可扩展, 原型参数必须与<code>Object.getPrototypeOf(target)</code> 的值相同.</li>
</ul>
<h2 id="示例">示例</h2>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/reflect/comparing_reflect_and_object_methods/index.html b/files/zh-cn/web/javascript/reference/global_objects/reflect/comparing_reflect_and_object_methods/index.html
index 0bfa4fcb10..cbecc77f37 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/reflect/comparing_reflect_and_object_methods/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/reflect/comparing_reflect_and_object_methods/index.html
@@ -129,7 +129,7 @@ original_slug: Web/JavaScript/Reference/Global_Objects/Reflect/比较_Reflect_
<td><code>ownKeys()</code></td>
<td>N/A</td>
<td>
- <p>{{jsxref("Reflect.ownKeys()")}}返回一个属性名称<font face="consolas, Liberation Mono, courier, monospace">数组</font>,该属性名称映射到目标对象自己的属性键。如果目标不是<code>Object</code>,则抛出<code>TypeError</code>。</p>
+ <p>{{jsxref("Reflect.ownKeys()")}}返回一个属性名称数组,该属性名称映射到目标对象自己的属性键。如果目标不是<code>Object</code>,则抛出<code>TypeError</code>。</p>
</td>
</tr>
</tbody>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/reflect/construct/index.html b/files/zh-cn/web/javascript/reference/global_objects/reflect/construct/index.html
index 174cab0ccb..b54e69bb3c 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/reflect/construct/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/reflect/construct/index.html
@@ -40,7 +40,7 @@ var obj = Reflect.construct(Foo, args); </pre>
<h3 id="Reflect.construct_vs_Object.create"><code>Reflect.construct()</code> vs <code>Object.create()</code></h3>
-<p><code><font face="Arial, x-locale-body, sans-serif">在新语法</font>Reflect</code>出现之前,是通过明确指定构造函数和原型对象( 使用{{jsxref("Object.create()")}})来创建一个对象的。</p>
+<p><code>在新语法Reflect</code>出现之前,是通过明确指定构造函数和原型对象( 使用{{jsxref("Object.create()")}})来创建一个对象的。</p>
<pre class="brush: js notranslate">function OneClass() {
this.name = 'one';
@@ -68,7 +68,7 @@ console.log(obj2 instanceof OtherClass); // true</pre>
<p>虽然两种方式结果相同,但在创建对象过程中仍一点不同。 </p>
-<p><font face="Arial, x-locale-body, sans-serif">当使用</font><code>Object.create()</code>和{{jsxref("Function.prototype.apply()")}}时,如果不使用<code>new</code>操作符调用构造函数,构造函数内部的<code>new.target</code>值会指向<code>undefined</code>。</p>
+<p>当使用<code>Object.create()</code>和{{jsxref("Function.prototype.apply()")}}时,如果不使用<code>new</code>操作符调用构造函数,构造函数内部的<code>new.target</code>值会指向<code>undefined</code>。</p>
<p>当调用<code>Reflect.construct()</code>来创建对象,<code>new.target</code>值会自动指定到<code>target</code>(或者newTarget,前提是newTarget指定了)。</p>
@@ -97,7 +97,7 @@ OneClass.apply(obj3, args);
// OneClass
// undefined</pre>
-<h2 id="举例"><font face="x-locale-heading-primary, zillaslab, Palatino, Palatino Linotype, x-locale-heading-secondary, serif"><strong>举例</strong></font></h2>
+<h2 id="举例"><strong>举例</strong></h2>
<h3 id="使用_Reflect.construct">使用 <code>Reflect.construct()</code></h3>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/reflect/get/index.html b/files/zh-cn/web/javascript/reference/global_objects/reflect/get/index.html
index 340178d61f..b41fb920c4 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/reflect/get/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/reflect/get/index.html
@@ -37,7 +37,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Reflect/get
<h2 id="实例">实例</h2>
-<h3 id="使用_Reflect.get"><code><font face="Open Sans, Arial, sans-serif">使用 </font>Reflect.get()</code></h3>
+<h3 id="使用_Reflect.get"><code>使用 Reflect.get()</code></h3>
<pre class="brush: js">// Object
var obj = { x: 1, y: 2 };
diff --git a/files/zh-cn/web/javascript/reference/global_objects/reflect/isextensible/index.html b/files/zh-cn/web/javascript/reference/global_objects/reflect/isextensible/index.html
index a04fbd5fb0..2e7e33a136 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/reflect/isextensible/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/reflect/isextensible/index.html
@@ -5,7 +5,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Reflect/isExtensible
---
<div>{{JSRef}}</div>
-<p><code><font face="Open Sans, Arial, sans-serif">静态方法 </font><strong>Reflect</strong></code><strong><code>.isExtensible()</code></strong> 判断一个对象是否可扩展 (即是否能够添加新的属性)。与它 {{jsxref("Object.isExtensible()")}} 方法相似,但有一些不同,详情可见 {{anch("Difference to Object.isExtensible()", "differences")}}。</p>
+<p><code>静态方法 <strong>Reflect</strong></code><strong><code>.isExtensible()</code></strong> 判断一个对象是否可扩展 (即是否能够添加新的属性)。与它 {{jsxref("Object.isExtensible()")}} 方法相似,但有一些不同,详情可见 {{anch("Difference to Object.isExtensible()", "differences")}}。</p>
<h2 id="语法">语法</h2>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/set/foreach/index.html b/files/zh-cn/web/javascript/reference/global_objects/set/foreach/index.html
index cd1bf7f82c..3b8dacfefc 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/set/foreach/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/set/foreach/index.html
@@ -18,13 +18,13 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Set/forEach
<dd>为集合中每个元素执行的回调函数,该函数接收三个参数:</dd>
<dd>
<dl>
- <dt><strong><font face="consolas, Liberation Mono, courier, monospace">currentValue, </font></strong><strong><font face="consolas, Liberation Mono, courier, monospace">currentKey{{optional_inline}}</font></strong></dt>
+ <dt><strong><code>currentValue</code>, </strong><strong><code>currentKey{{optional_inline}}</code></strong></dt>
<dd><strong>currentValue</strong> 是正在被操作的元素。并且由于集合没有索引,所以 <strong>currentKey</strong> 也表示这个正在被操作的元素。</dd>
- <dt><strong><font face="consolas, Liberation Mono, courier, monospace">set{{optional_inline}}</font></strong></dt>
+ <dt><strong><code>set{{optional_inline}}</code></strong></dt>
<dd>调用当前 <code>forEach</code> 方法的集合对象</dd>
</dl>
</dd>
- <dt><code>thisArg</code><strong><font face="consolas, Liberation Mono, courier, monospace">{{optional_inline}}</font></strong></dt>
+ <dt><code>thisArg</code><strong><code>{{optional_inline}}</code></strong></dt>
<dd>回调函数执行过程中的 <code>this</code> 值。</dd>
</dl>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/sharedarraybuffer/index.html b/files/zh-cn/web/javascript/reference/global_objects/sharedarraybuffer/index.html
index e781d71a84..c6eb9cc2d2 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/sharedarraybuffer/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/sharedarraybuffer/index.html
@@ -60,7 +60,7 @@ worker.postMessage(sab);
<p>共享内存能被同时创建和更新于工作者线程或主线程。依赖于系统(CPU,操作系统,浏览器),变化传递给所有上下文环境需要一段时间。需要通过 {{jsxref("Atomics", "atomic", "", 1)}} 操作来进行同步。</p>
-<h3 id="接受_SharedArrayBuffer_对象的API"><font face="Open Sans, Arial, sans-serif">接受 </font><code>SharedArrayBuffer</code> 对象的API</h3>
+<h3 id="接受_SharedArrayBuffer_对象的API">接受 <code>SharedArrayBuffer</code> 对象的API</h3>
<ul>
<li>{{domxref("WebGLRenderingContext.bufferData()")}}</li>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/big/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/big/index.html
index 8854fd3b2b..127079b1df 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/big/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/big/index.html
@@ -25,7 +25,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/big
<h2 id="示例">示例</h2>
-<h3 id="使用big()函数"><code><font face="Open Sans, Arial, sans-serif">使用</font>big()函数</code></h3>
+<h3 id="使用big()函数"><code>使用big()函数</code></h3>
<p>下面的例子使用了字符串方法来改变一个字符串的字体大小:</p>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/bold/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/bold/index.html
index 1ff02a8d34..3b2c66d11a 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/bold/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/bold/index.html
@@ -25,7 +25,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/bold
<h2 id="示例">示例</h2>
-<h3 id="使用bold()"><code><font face="Open Sans, Arial, sans-serif">使用</font>bold()</code></h3>
+<h3 id="使用bold()"><code>使用bold()</code></h3>
<p>下面的例子使用字符串方法来改变字符串的格式。</p>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/fontcolor/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/fontcolor/index.html
index 1f9775194a..64c397f8e7 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/fontcolor/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/fontcolor/index.html
@@ -11,80 +11,78 @@ tags:
- String
translation_of: Web/JavaScript/Reference/Global_Objects/String/fontcolor
---
-<div><font><font>{{JSRef}} {{deprecated_header}}</font></font></div>
+<div>{{JSRef}} {{deprecated_header}}</div>
-<p><strong><code>fontcolor()</code></strong><font><font>方法创建一个{{HTMLElement("font")}}的HTML元素让字符串被显示成指定的字体颜色。</font></font></p>
+<p><strong><code>fontcolor()</code></strong>方法创建一个{{HTMLElement("font")}}的HTML元素让字符串被显示成指定的字体颜色。</p>
<div class="note">
-<p><strong><font><font>使用注意:</font></font></strong><font><font>&lt;font&gt;元素已经在在</font></font><a href="/en-US/docs/Web/Guide/HTML/HTML5"><font><font>HTML5中</font></font></a><font><font>被移除并且不应该在使用。</font><font>替代的是,web开发者应该使用</font></font><a href="/en-US/docs/Web/CSS"><font><font>CSS</font></font></a><font><font>属性。</font></font></p>
+<p><strong>使用注意:</strong>&lt;font&gt;元素已经在在<a href="/en-US/docs/Web/Guide/HTML/HTML5">HTML5中</a>被移除并且不应该在使用。替代的是,web开发者应该使用<a href="/en-US/docs/Web/CSS">CSS</a>属性。</p>
</div>
<h2 id="语法">语法</h2>
<pre class="syntaxbox"><code><var>str</var>.fontcolor(<var>color</var>)</code></pre>
-<h3 id="参数"><font><font>参数</font></font></h3>
+<h3 id="参数">参数</h3>
<dl>
<dt><code>color</code></dt>
- <dd><font><font>代表颜色的一个字符串,可以是三个一组的十六进制的RGB值,也可以是一个颜色名称的字符串字面量,</font><font>颜色名称的字符串字面量被列在了这里</font></font><a href="/en-US/docs/Web/CSS/color_value"><font><font>CSS颜色参考</font></font></a><font><font>。</font></font></dd>
+ <dd>代表颜色的一个字符串,可以是三个一组的十六进制的RGB值,也可以是一个颜色名称的字符串字面量,颜色名称的字符串字面量被列在了这里<a href="/en-US/docs/Web/CSS/color_value">CSS颜色参考</a>。</dd>
</dl>
-<h3 id="返回值"><font><font>返回值</font></font></h3>
+<h3 id="返回值">返回值</h3>
<dl>
- <dd><font><font>一个包含一个{{HTMLElement("font")}} HTML元素的字符串。</font></font></dd>
+ <dd>一个包含一个{{HTMLElement("font")}} HTML元素的字符串。</dd>
</dl>
-<h2 id="描述"><font><font>描述</font></font></h2>
+<h2 id="描述">描述</h2>
-<p><font><font>如果你表示的颜色为十六进制RGB三原色,则必须使用的格式</font></font><code>rrggbb</code><font><font>。</font><font>例如,对于橙红色的十六进制RGB值是红色=FA,绿色=80,和蓝=72,所以橙红色的RGB三原色</font></font><code>"FA8072"</code><font><font>。</font></font></p>
+<p>如果你表示的颜色为十六进制RGB三原色,则必须使用的格式<code>rrggbb</code>。例如,对于橙红色的十六进制RGB值是红色=FA,绿色=80,和蓝=72,所以橙红色的RGB三原色<code>"FA8072"</code>。</p>
-<h2 id="例子"><font><font>例子</font></font></h2>
+<h2 id="例子">例子</h2>
-<h3 id="使用_fontcolor()"><font><font>使用 </font></font><code>fontcolor()</code></h3>
+<h3 id="使用_fontcolor()">使用 <code>fontcolor()</code></h3>
-<p><font><font>下面的示例使用</font></font><code>fontcolor()</code><font><font>方法来改变字符串的颜色,通过产生一个被HTML &lt;font&gt; 标签包裹的字符串</font></font>。</p>
+<p>下面的示例使用<code>fontcolor()</code>方法来改变字符串的颜色,通过产生一个被HTML &lt;font&gt; 标签包裹的字符串。</p>
-<pre class="brush: js"><font><font>var worldString = "Hello, world"</font></font>
-<font><font>
+<pre class="brush: js">var worldString = "Hello, world"
console.log(worldString.fontcolor('red') + ' is red in this line');
-// &lt;font color="red"&gt;Hello, world &lt;/font&gt; is red in this line"</font></font>
-<font><font>
-console.log(worldString.fontcolor('FF00') + ' is red in hexadecimal'</font></font><font><font>
-// &lt;font color="FF00"&gt;Hello,world &lt;/font&gt; is red in hexadecimal</font></font>
+// &lt;font color="red"&gt;Hello, world &lt;/font&gt; is red in this line"
+console.log(worldString.fontcolor('FF00') + ' is red in hexadecimal'
+// &lt;font color="FF00"&gt;Hello,world &lt;/font&gt; is red in hexadecimal
</pre>
-<p><font><font>和{{domxref("HTMLElement.style","element.style")}}对象一起,你可以访问元素的</font></font><code>style</code><font><font>属性,并且更随意的去操纵它,例如:</font></font></p>
+<p>和{{domxref("HTMLElement.style","element.style")}}对象一起,你可以访问元素的<code>style</code>属性,并且更随意的去操纵它,例如:</p>
-<pre class="brush: js"><font><font>document.getElementById('yourElemId').style.color ='red';
-</font></font></pre>
+<pre class="brush: js">document.getElementById('yourElemId').style.color ='red';
+</pre>
<h2 id="Specifications">Specifications</h2>
<table class="standard-table">
<tbody>
<tr>
- <th scope="col"><font><font>规范</font></font></th>
- <th scope="col"><font><font>状态</font></font></th>
- <th scope="col"><font><font>评论</font></font></th>
+ <th scope="col">规范</th>
+ <th scope="col">状态</th>
+ <th scope="col">评论</th>
</tr>
<tr>
- <td><font><font>{{SpecName('ES6','#string.prototype.fontcolor', 'String.prototype.fontcolor')}}</font></font></td>
- <td><font><font>{{Spec2('ES6')}}</font></font></td>
- <td><font><font>初始定义。</font><font>实现在JavaScript中1.0。</font><font>定义为附加功能的ECMAScript针对Web浏览器(规范)附件B。</font></font></td>
+ <td>{{SpecName('ES6','#string.prototype.fontcolor', 'String.prototype.fontcolor')}}</td>
+ <td>{{Spec2('ES6')}}</td>
+ <td>初始定义。实现在JavaScript中1.0。定义为附加功能的ECMAScript针对Web浏览器(规范)附件B。</td>
</tr>
<tr>
- <td><font><font>{{SpecName('ESDraft', '#string.prototype.fontcolor', 'String.prototype.fontcolor')}}</font></font></td>
- <td><font><font>{{Spec2('ESDraft')}}</font></font></td>
- <td><font><font>定义为附加功能的ECMAScript针对Web浏览器(规范)附件B。</font></font></td>
+ <td>{{SpecName('ESDraft', '#string.prototype.fontcolor', 'String.prototype.fontcolor')}}</td>
+ <td>{{Spec2('ESDraft')}}</td>
+ <td>定义为附加功能的ECMAScript针对Web浏览器(规范)附件B。</td>
</tr>
</tbody>
</table>
-<h2 id="浏览器兼容性"><font><font>浏览器兼容性</font></font></h2>
+<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div><font><font>{{CompatibilityTable}}</font></font></div>
+<div>{{CompatibilityTable}}</div>
<div id="compat-desktop">
<table class="compat-table">
@@ -92,18 +90,18 @@ console.log(worldString.fontcolor('FF00') + ' is red in hexadecimal'</font></f
<tr>
<th>Feature</th>
<th>Chrome</th>
- <th><font><font>Firefox(Gecko)</font></font></th>
+ <th>Firefox(Gecko)</th>
<th>Internet Explorer</th>
<th>Opera</th>
- <th><font><font>Safari</font></font></th>
+ <th>Safari</th>
</tr>
<tr>
<td>Basic Support</td>
- <td><font><font>{{CompatVersionUnknown}}</font></font></td>
- <td><font><font>{{CompatGeckoDesktop("1.0")}}</font></font></td>
- <td><font><font>{{CompatVersionUnknown}}</font></font></td>
- <td><font><font>{{CompatVersionUnknown}}</font></font></td>
- <td><font><font>{{CompatVersionUnknown}}</font></font></td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatGeckoDesktop("1.0")}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
</tr>
</tbody>
</table>
@@ -114,28 +112,28 @@ console.log(worldString.fontcolor('FF00') + ' is red in hexadecimal'</font></f
<tbody>
<tr>
<th>Feature</th>
- <th><font><font>Android</font></font></th>
- <th><font><font>Chrome for Android</font></font></th>
- <th><font><font>Firefox Mobile(Gecko)</font></font></th>
- <th><font><font>IE Mobile</font></font></th>
- <th><font><font>Opera Mobile</font></font></th>
- <th><font><font>Safari Mobile</font></font></th>
+ <th>Android</th>
+ <th>Chrome for Android</th>
+ <th>Firefox Mobile(Gecko)</th>
+ <th>IE Mobile</th>
+ <th>Opera Mobile</th>
+ <th>Safari Mobile</th>
</tr>
<tr>
<td>Basic Support</td>
- <td><font><font>{{CompatVersionUnknown}}</font></font></td>
- <td><font><font>{{CompatVersionUnknown}}</font></font></td>
- <td><font><font>{{CompatGeckoMobile("1.0")}}</font></font></td>
- <td><font><font>{{CompatVersionUnknown}}</font></font></td>
- <td><font><font>{{CompatVersionUnknown}}</font></font></td>
- <td><font><font>{{CompatVersionUnknown}}</font></font></td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatGeckoMobile("1.0")}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
</tr>
</tbody>
</table>
</div>
-<h2 id="也可以看看"><font><font>也可以看看</font></font></h2>
+<h2 id="也可以看看">也可以看看</h2>
<ul>
- <li><font><font>{{jsxref("String.prototype.fontsize()")}}</font></font></li>
+ <li>{{jsxref("String.prototype.fontsize()")}}</li>
</ul>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/fontsize/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/fontsize/index.html
index 676e1eff43..b5662d12aa 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/fontsize/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/fontsize/index.html
@@ -32,7 +32,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/fontsize
<h2 id="示例">示例</h2>
-<h3 id="使用fontsize()方法"><code><font face="Open Sans, Arial, sans-serif">使用</font>fontsize()方法</code></h3>
+<h3 id="使用fontsize()方法"><code>使用fontsize()方法</code></h3>
<p>The following example uses string methods to change the size of a string:</p>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/index.html
index 5cea932350..c69faea0c4 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/index.html
@@ -175,7 +175,7 @@ else
<p>使用从字符串实例继承而来的 {{jsxref("String.localeCompare", "localeCompare")}} 方法也能达到同样的效果。 </p>
-<h3 id="基本字符串和字符串对象的区别">基本字符串和<font face="Consolas, Liberation Mono, Courier, monospace">字符串</font>对象的区别</h3>
+<h3 id="基本字符串和字符串对象的区别">基本字符串和字符串对象的区别</h3>
<p>请注意区分 JavaScript 字符串对象和基本字符串值 . ( 对于 {{jsxref("Global_Objects/Boolean", "Boolean")}} 和{{jsxref("Global_Objects/Number", "Numbers")}} 也同样如此.)</p>
@@ -188,7 +188,7 @@ console.log(typeof s_prim); // Logs "string"
console.log(typeof s_obj); // Logs "object"
</pre>
-<p>当使用 {{jsxref("Global_Objects/eval", "eval")}}时,基本字符串和<font face="Consolas, Liberation Mono, Courier, monospace">字符串</font>对象也会产生不同的结果。<code>eval</code> 会将基本字符串作为源代码处理; 而<font face="Consolas, Liberation Mono, Courier, monospace">字符串</font>对象则被看作对象处理, 返回对象。 例如:</p>
+<p>当使用 {{jsxref("Global_Objects/eval", "eval")}}时,基本字符串和字符串对象也会产生不同的结果。<code>eval</code> 会将基本字符串作为源代码处理; 而字符串对象则被看作对象处理, 返回对象。 例如:</p>
<pre class="brush: js">s1 = "2 + 2"; // creates a string primitive
s2 = new String("2 + 2"); // creates a String object
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/indexof/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/indexof/index.html
index 5bb7b532fc..21434132e5 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/indexof/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/indexof/index.html
@@ -115,7 +115,7 @@ console.log('myCapString.indexOf("cheddar") is ' + myCapString.indexOf("cheddar"
<h3 id="使用_indexOf_统计一个字符串中某个字母出现的次数">使用 <code>indexOf</code> 统计一个字符串中某个字母出现的次数</h3>
-<p>在下例中,设置了 <code>count</code> 来记录字母 <code><font face="Consolas, Liberation Mono, Courier, monospace">e</font></code> 在字符串 <code>str</code> 中出现的次数:</p>
+<p>在下例中,设置了 <code>count</code> 来记录字母 <code>e</code> 在字符串 <code>str</code> 中出现的次数:</p>
<pre class="brush: js notranslate">// 翻译:生存还是毁灭?这是个问题。(莎士比亚《哈姆雷特》)
var str = 'To be, or not to be, that is the question.';
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/localecompare/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/localecompare/index.html
index e7948450a1..1bdd45c95e 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/localecompare/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/localecompare/index.html
@@ -28,7 +28,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/localeCompare
<dl>
<dt><code>compareString</code></dt>
<dd>用来比较的字符串</dd>
- <dt><strong><code><font face="consolas, Liberation Mono, courier, monospace">locales</font></code></strong></dt>
+ <dt><strong><code>locales</code></strong></dt>
<dd>可选。 用来表示一种或多种语言或区域的一个符合 <a href="https://tools.ietf.org/html/rfc5646">BCP 47</a> 标准的字符串或一个字符串数组。 <code>locales</code>参数的一般形式与解释, 详情请参考 <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation">Intl page</a>。 下列的 Unicode 扩展关键词是允许的:</dd>
<dd><code><strong>co</strong></code></dd>
<dd>为了某些地域多样的排序规则。可能的值包括: <code>"big5han"</code>, <code>"dict"</code>, <code>"direct"</code>, <code>"ducet"</code>, <code>"gb2312"</code>, <code>"phonebk"</code>, <code>"phonetic"</code>, <code>"pinyin"</code>, <code>"reformed"</code>, <code>"searchjl"</code>, <code>"stroke"</code>, <code>"trad"</code>, <code>"unihan"</code>。 <code>"standard"</code> 和<code>"search"</code> 这两个值是被忽略的; 它们被 <code>options</code> 的属性 <code>usage</code> 代替(往下看)。</dd>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/tolocalelowercase/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/tolocalelowercase/index.html
index a9709187a7..95b8378bbe 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/tolocalelowercase/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/tolocalelowercase/index.html
@@ -37,7 +37,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/toLocaleLowerCase
<h2 id="例子">例子</h2>
-<h3 id="使用toLocaleLowerCase"><code><font face="Open Sans, Arial, sans-serif">使用</font>toLocaleLowerCase()</code></h3>
+<h3 id="使用toLocaleLowerCase"><code>使用toLocaleLowerCase()</code></h3>
<pre><code>'ALPHABET'.toLocaleLowerCase(); // 'alphabet'
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/tolowercase/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/tolowercase/index.html
index b0ecb92a51..007d9bb2d9 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/tolowercase/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/tolowercase/index.html
@@ -40,7 +40,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/toLowerCase
<div class="line-number" style="margin-top: 1em; position: absolute; left: 0px; right: 0px; line-height: inherit; top: 0px; background: 0px 0px;"></div>
-<p><font face="x-locale-heading-primary, zillaslab, Palatino, Palatino Linotype, x-locale-heading-secondary, serif"><strong>说明</strong></font></p>
+<p><strong>说明</strong></p>
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>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/syntaxerror/index.html b/files/zh-cn/web/javascript/reference/global_objects/syntaxerror/index.html
index 27e66ef381..ff6fb0181c 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/syntaxerror/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/syntaxerror/index.html
@@ -35,7 +35,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/SyntaxError
<dl>
<dt>{{jsxref("SyntaxError.prototype")}}</dt>
- <dd><code><font face="Open Sans, sans-serif">允许</font>SyntaxError</code>对象添加属性.</dd>
+ <dd><code>允许SyntaxError</code>对象添加属性.</dd>
</dl>
<h2 id="Methods" name="Methods">方法</h2>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/typedarray/index.html b/files/zh-cn/web/javascript/reference/global_objects/typedarray/index.html
index b3f9275b6d..912d45dea4 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/typedarray/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/typedarray/index.html
@@ -48,7 +48,7 @@ Float64Array();</pre>
<dd>当传入一个任意类型化数组对象作为 <code>typedArray</code> 参数时(比如 <code>Int32Array</code>),<code>typedArray</code> 会被复制到一个新的类型数组中。<code>typedArray</code> 中的每个值在被复制到新的数组之前,会被转化为相应类型的构造函数。新的生成的类型化数组对象将会有跟传入的数组相同的长度(译者注:比如原来的类型化数组的 <code>length==2</code>,那么新生成的数组的 <code>length</code> 也是 <code>2</code>,只是数组中的每一项进行了转化)。</dd>
<dt><code><em>object</em></code></dt>
<dd>
- <p>当传入一个 <font face="Consolas, Liberation Mono, Courier, monospace"><code>object</code></font> 作为参数时,就像通过<font face="Consolas, Liberation Mono, Courier, monospace"> </font><code><em>TypedArray</em>.from()</code> 方法创建一个新的类型化数组一样。</p>
+ <p>当传入一个 <code>object</code> 作为参数时,就像通过 <code><em>TypedArray</em>.from()</code> 方法创建一个新的类型化数组一样。</p>
</dd>
<dt><code><em>buffer</em></code>, <code><em>byteOffset</em></code>, <code><em>length</em></code></dt>
<dd>当传入一个 <code>buffer</code> 参数,或者再另外加上可选参数 <code>byteOffset</code> 和 <code>length</code> 时,一个新的类型化数组视图将会被创建,并可用于呈现传入的 <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer" title="The ArrayBuffer object is used to represent a generic, fixed-length raw binary data buffer. You cannot directly manipulate the contents of an ArrayBuffer; instead, you create one of the typed array objects or a DataView object which represents the buffer in a specific format, and use that to read and write the contents of the buffer.">ArrayBuffer</a></code> 实例。<code>byteOffset</code> 和<code>length</code> 参数指定了类型化数组视图将要暴露的内存范围。如果两者都未传入,那么整个<code>buffer</code> 都会被呈现;如果仅仅忽略 <code>length</code>,那么 <code>buffer</code> 中偏移了 <code>byteOffset</code> 后剩下的 <code>buffer</code> 将会被呈现。</dd>
@@ -198,7 +198,7 @@ Int8Array.prototype.foo = "bar";
<dl>
<dt>{{jsxref("TypedArray.BYTES_PER_ELEMENT")}}</dt>
- <dd>返回一个数值,代表不同类型的类型化数组对象中,单个元素的字节大小。例如 <code>new Int8Array().BYTES_PER_ELEMENT === 1</code>, <font face="consolas, Liberation Mono, courier, monospace"><code>new Int16Array().BYTES_PER_ELEMENT === 2</code></font> ( 8 位字节为 1,16 位为 2 字节,类推)。   </dd>
+ <dd>返回一个数值,代表不同类型的类型化数组对象中,单个元素的字节大小。例如 <code>new Int8Array().BYTES_PER_ELEMENT === 1</code>, <code>new Int16Array().BYTES_PER_ELEMENT === 2</code> ( 8 位字节为 1,16 位为 2 字节,类推)。   </dd>
<dt><code><em>TypedArray</em>.length</code></dt>
<dd>类型化数组中元素的个数,例如 <code>new Int8Array(3).length === 3</code>。</dd>
<dt>{{jsxref("TypedArray.name")}}</dt>
@@ -237,7 +237,7 @@ Int8Array.prototype.foo = "bar";
<p>下面的 JavaScript 代码片段,可能会是你尝试用来补救 <code><var>TypedArray</var></code> 方法缺失的手段(polyfill):</p>
<pre class="brush: js example-bad">var typedArrayTypes = [<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array" title="The Int8Array typed array represents an array of twos-complement 8-bit signed integers. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).">Int8Array</a>, <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" title="The Uint8Array typed array represents an array of 8-bit unsigned integers. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).">Uint8Array</a>, <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray" title="The Uint8ClampedArray typed array represents an array of 8-bit unsigned integers clamped to 0-255; if you specified a value that is out of the range of [0,255], 0 or 255 will be set instead; if you specify a non-integer, the nearest integer will be set. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).">Uint8ClampedArray</a>,
-  <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array" title="The Int16Array typed array represents an array of twos-complement 16-bit signed integers in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).">Int16Array</a>,<font face="consolas, monaco, Andale Mono, monospace"> </font></code><code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array" title="The Uint16Array typed array represents an array of 16-bit unsigned integers in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).">Uint16Array</a>, ​​​<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array" title="The Int32Array typed array represents an array of twos-complement 32-bit signed integers in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).">Int32Array</a>,
+  <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array" title="The Int16Array typed array represents an array of twos-complement 16-bit signed integers in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).">Int16Array</a>, </code><code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array" title="The Uint16Array typed array represents an array of 16-bit unsigned integers in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).">Uint16Array</a>, ​​​<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array" title="The Int32Array typed array represents an array of twos-complement 32-bit signed integers in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).">Int32Array</a>,
  <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array" title="The Uint32Array typed array represents an array of 32-bit unsigned integers in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).">Uint32Array</a>, ​​​<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array" title="The Float32Array typed array represents an array of 32-bit floating point numbers (corresponding to the C float data type) in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).">Float32Array</a>, </code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array" title="The Float64Array typed array represents an array of 64-bit floating point numbers (corresponding to the C double data type) in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation)."><code>Float64Array</code></a>];
for (var k in typedArrayTypes)
diff --git a/files/zh-cn/web/javascript/reference/global_objects/uint16array/index.html b/files/zh-cn/web/javascript/reference/global_objects/uint16array/index.html
index aac0ee3cbc..9479c4831e 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/uint16array/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/uint16array/index.html
@@ -5,7 +5,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Uint16Array
---
<div>{{JSRef}}</div>
-<p><code><font face="Arial, x-locale-body, sans-serif">该 </font><strong>Uint16Array</strong></code> 类型数组表示16位无符号整数,按平台字节顺序排列。如果需要控制字节顺序,请使用 DataView 代替。内容被初始化为0。建立后,就可以使用对象的方法或使用标准数组索引语法(即使用括号表示法)引用数组中的元素。</p>
+<p><code>该 <strong>Uint16Array</strong></code> 类型数组表示16位无符号整数,按平台字节顺序排列。如果需要控制字节顺序,请使用 DataView 代替。内容被初始化为0。建立后,就可以使用对象的方法或使用标准数组索引语法(即使用括号表示法)引用数组中的元素。</p>
<h2 id="构造函数">构造函数</h2>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/uint32array/index.html b/files/zh-cn/web/javascript/reference/global_objects/uint32array/index.html
index e1859906a2..4e8b04116a 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/uint32array/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/uint32array/index.html
@@ -43,7 +43,7 @@ new Uint32Array(buffer [, byteOffset [, length]]);</pre>
<h2 id="Boolean_instances" name="Boolean_instances"><code>Uint32Array</code> 原型</h2>
-<p><font face="Open Sans, sans-serif">所有 </font><code>Uint32Array</code> 对象继承自 {{jsxref("TypedArray.prototype", "%TypedArray%.prototype")}}.</p>
+<p>所有 <code>Uint32Array</code> 对象继承自 {{jsxref("TypedArray.prototype", "%TypedArray%.prototype")}}.</p>
<h3 id="属性_2">属性</h3>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/unescape/index.html b/files/zh-cn/web/javascript/reference/global_objects/unescape/index.html
index c9cb0a1c44..4577d2f5cc 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/unescape/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/unescape/index.html
@@ -7,7 +7,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/unescape
---
<div>{{jsSidebar("Objects")}}</div>
-<p><font face="Open Sans, Arial, sans-serif">已废弃的</font><code><strong>unescape()</strong></code> 方法计算生成一个新的字符串,其中的十六进制转义序列将被其表示的字符替换。上述的转义序列就像{{jsxref("escape")}}里介绍的一样。因为 <code>unescape</code> 已经废弃,建议使用 {{jsxref("decodeURI")}}或者{{jsxref("decodeURIComponent")}} 替代本方法。</p>
+<p>已废弃的<code><strong>unescape()</strong></code> 方法计算生成一个新的字符串,其中的十六进制转义序列将被其表示的字符替换。上述的转义序列就像{{jsxref("escape")}}里介绍的一样。因为 <code>unescape</code> 已经废弃,建议使用 {{jsxref("decodeURI")}}或者{{jsxref("decodeURIComponent")}} 替代本方法。</p>
<div class="note"><strong>注意:</strong>不要使用<code>unescape</code>去解码URLS,使用<code>decodeURI</code>或<code>decodeURIComponent</code>替代。</div>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/weakset/delete/index.html b/files/zh-cn/web/javascript/reference/global_objects/weakset/delete/index.html
index 82b35b0a7d..d2826e7cd4 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/weakset/delete/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/weakset/delete/index.html
@@ -20,7 +20,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/WeakSet/delete
<h3 id="返回值">返回值</h3>
-<p>如果在 <code>WeakSet</code> 对象中成功移除元素则返回 true。如果 key 没有在 WeakSet 中<font face="Consolas, Liberation Mono, Courier, monospace">找到或者 key 不是一个对象,则返回 false。</font></p>
+<p>如果在 <code>WeakSet</code> 对象中成功移除元素则返回 true。如果 key 没有在 WeakSet 中找到或者 key 不是一个对象,则返回 false。</p>
<h2 id="示例">示例</h2>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/webassembly/table/index.html b/files/zh-cn/web/javascript/reference/global_objects/webassembly/table/index.html
index a3fbc0a4dc..9582758e32 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/webassembly/table/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/webassembly/table/index.html
@@ -48,7 +48,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/WebAssembly/Table
<dl>
<dt><code>Table.prototype.constructor</code></dt>
- <dd><font><font>返回创建该对象实例的函数。</font><font>默认情况下,这是</font></font>{{jsxref("WebAssembly.Table()")}} 的<font><font>构造函数。</font></font></dd>
+ <dd>返回创建该对象实例的函数。默认情况下,这是{{jsxref("WebAssembly.Table()")}} 的构造函数。</dd>
<dt>{{jsxref("WebAssembly/Table/length","Table.prototype.length")}}</dt>
<dd>返回Table的长度,即元素数。</dd>
</dl>
diff --git a/files/zh-cn/web/javascript/reference/operators/await/index.html b/files/zh-cn/web/javascript/reference/operators/await/index.html
index fe95e7ddf2..0183f4d7ae 100644
--- a/files/zh-cn/web/javascript/reference/operators/await/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/await/index.html
@@ -15,12 +15,12 @@ translation_of: Web/JavaScript/Reference/Operators/await
<h2 id="语法">语法</h2>
-<pre class="syntaxbox notranslate">[<font face="Consolas, Liberation Mono, Courier, monospace">返回值</font>] = await <font face="Consolas, Liberation Mono, Courier, monospace">表达式</font>;</pre>
+<pre class="syntaxbox notranslate">[返回值] = await 表达式;</pre>
<dl>
- <dt><font face="Consolas, Liberation Mono, Courier, monospace">表达式</font></dt>
+ <dt>表达式</dt>
<dd>一个 {{jsxref("Promise")}} 对象或者任何要等待的值。</dd>
- <dt><font face="Consolas, Liberation Mono, Courier, monospace">返回值</font></dt>
+ <dt>返回值</dt>
<dd>
<p>返回 Promise 对象的处理结果。如果等待的不是 Promise 对象,则返回该值本身。</p>
</dd>
diff --git a/files/zh-cn/web/javascript/reference/operators/bitwise_not/index.html b/files/zh-cn/web/javascript/reference/operators/bitwise_not/index.html
index 61c6487896..ff285826b0 100644
--- a/files/zh-cn/web/javascript/reference/operators/bitwise_not/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/bitwise_not/index.html
@@ -59,7 +59,7 @@ After: 10100000000000000110000000000001</pre>
~9 (base 10) = 11111111111111111111111111110110 (base 2) = -10 (base 10)
</pre>
-<p>按位非运算时,任何数字<code>x<font face="Arial, x-locale-body, sans-serif">的运算结果都是</font></code><code>-(x + 1)</code>。例如,<code>〜-5</code>运算结果为<code>4</code>。</p>
+<p>按位非运算时,任何数字<code>x的运算结果都是</code><code>-(x + 1)</code>。例如,<code>〜-5</code>运算结果为<code>4</code>。</p>
<p>Note that due to using 32-bit representation for numbers both <code>~-1</code> and <code>~4294967295</code> (2<sup>32</sup>-1) results in <code>0</code>.</p>
diff --git a/files/zh-cn/web/javascript/reference/operators/destructuring_assignment/index.html b/files/zh-cn/web/javascript/reference/operators/destructuring_assignment/index.html
index 8d56764ac3..93182a3253 100644
--- a/files/zh-cn/web/javascript/reference/operators/destructuring_assignment/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/destructuring_assignment/index.html
@@ -342,7 +342,7 @@ var user = {
console.log("userId: " + userId(user)); // "userId: 42"
whois(user); // "jdoe is John"</pre>
-<p>这段代码从user对象中提取并输出<code>id<font face="Open Sans, Arial, sans-serif">、</font></code><code>displayName</code> 和 <code>firstName</code>。</p>
+<p>这段代码从user对象中提取并输出<code>id、</code><code>displayName</code> 和 <code>firstName</code>。</p>
<h3 id="对象属性计算名和解构">对象属性计算名和解构</h3>
diff --git a/files/zh-cn/web/javascript/reference/operators/exponentiation/index.html b/files/zh-cn/web/javascript/reference/operators/exponentiation/index.html
index 957cc40de2..26fbf9ff64 100644
--- a/files/zh-cn/web/javascript/reference/operators/exponentiation/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/exponentiation/index.html
@@ -10,7 +10,7 @@ translation_of: Web/JavaScript/Reference/Operators/Exponentiation
---
<div>{{jsSidebar("Operators")}}</div>
-<p><font><font>求幂运算符(</font></font><code>**</code><font><font>)返回将第一个操作数加到第二个操作数</font><font>的幂</font><font>的结果。</font><font>它等效于</font></font><code>Math.pow</code><font><font>,不同之处在于它也接受BigInts作为操作数。</font></font></p>
+<p>求幂运算符(<code>**</code>)返回将第一个操作数加到第二个操作数的幂的结果。它等效于<code>Math.pow</code>,不同之处在于它也接受BigInts作为操作数。</p>
<div>{{EmbedInteractiveExample("pages/js/expressions-exponentiation.html")}}</div>
diff --git a/files/zh-cn/web/javascript/reference/operators/function/index.html b/files/zh-cn/web/javascript/reference/operators/function/index.html
index 275ea3a02a..50ebd46d2c 100644
--- a/files/zh-cn/web/javascript/reference/operators/function/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/function/index.html
@@ -42,7 +42,7 @@ translation_of: Web/JavaScript/Reference/Operators/function
<p>JavaScript中的函数表达式没有提升,不像函数声明,你在定义函数表达式之前不能使用函数表达式:</p>
-<pre class="brush: js"><code><font color="#333333" face="Open Sans, arial, sans-serif" size="3"> </font>notHoisted(); // TypeError: notHoisted is not a function
+<pre class="brush: js"><code> notHoisted(); // TypeError: notHoisted is not a function
var notHoisted = function() {
console.log('bar');
diff --git a/files/zh-cn/web/javascript/reference/operators/inequality/index.html b/files/zh-cn/web/javascript/reference/operators/inequality/index.html
index dfa41522d1..11b16d1c2e 100644
--- a/files/zh-cn/web/javascript/reference/operators/inequality/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/inequality/index.html
@@ -14,33 +14,33 @@ translation_of: Web/JavaScript/Reference/Operators/Inequality
<div>{{EmbedInteractiveExample("pages/js/expressions-inequality.html")}}</div>
-<p class="hidden"><font><font>该交互式示例的源代码存储在GitHub存储库中。</font><font>如果您想为交互式示例项目做出贡献,请克隆</font></font><a href="https://github.com/mdn/interactive-examples"><font><font>https://github.com/mdn/interactive-examples</font></font></a><font><font>并向我们​​发送请求请求。</font></font></p>
+<p class="hidden">该交互式示例的源代码存储在GitHub存储库中。如果您想为交互式示例项目做出贡献,请克隆<a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a>并向我们​​发送请求请求。</p>
<h2 id="语法">语法</h2>
<pre class="syntaxbox notranslate">x != y</pre>
-<h2 id="描述"><font><font>描述</font></font></h2>
+<h2 id="描述">描述</h2>
-<p><font><font>不等式运算符检查其操作数是否不相等。</font><font>这是</font></font><a href="/zh-CN/docs/Web/JavaScript/Reference/Operators/Equality"><font><font>等于</font></font></a><font><font>运算符</font><font>的取反,</font><font>因此以下两行将始终给出相同的结果:</font></font> </p>
+<p>不等式运算符检查其操作数是否不相等。这是<a href="/zh-CN/docs/Web/JavaScript/Reference/Operators/Equality">等于</a>运算符的取反,因此以下两行将始终给出相同的结果: </p>
<pre class="brush: js notranslate">x != y
!(x == y)</pre>
-<p><font><font>有关比较算法的详细信息,请参见</font></font><a href="/zh-CN/docs/Web/JavaScript/Reference/Operators/Equality"><font><font>等于</font></font></a><font><font>运算符</font><font>的页面</font><font>。</font></font></p>
+<p>有关比较算法的详细信息,请参见<a href="/zh-CN/docs/Web/JavaScript/Reference/Operators/Equality">等于</a>运算符的页面。</p>
-<p><font><font>与等于运算符一样,不等于运算符将尝试转换和比较不同类型的操作数:</font></font></p>
+<p>与等于运算符一样,不等于运算符将尝试转换和比较不同类型的操作数:</p>
<pre class="brush: js notranslate">3 != "3"; // false</pre>
-<p><font><font>为避免这种情况,并要求将不同类型视为不同,请使用</font></font><a href="/zh-CN/docs/Web/JavaScript/Reference/Operators/Strict_inequality"><font><font>严格的不等于</font></font></a><font><font>运算符:</font></font></p>
+<p>为避免这种情况,并要求将不同类型视为不同,请使用<a href="/zh-CN/docs/Web/JavaScript/Reference/Operators/Strict_inequality">严格的不等于</a>运算符:</p>
<pre class="brush: js notranslate">3 !== "3"; // true</pre>
-<h2 id="例子"><font><font>例子</font></font></h2>
+<h2 id="例子">例子</h2>
-<h3 id="没有类型转换的比较"><font><font>没有类型转换的比较</font></font></h3>
+<h3 id="没有类型转换的比较">没有类型转换的比较</h3>
<pre class="brush: js notranslate">1 != 2; // true
"hello" != "hola"; // true
@@ -48,7 +48,7 @@ translation_of: Web/JavaScript/Reference/Operators/Inequality
1 != 1; // false
"hello" != "hello"; // false</pre>
-<h3 id="与类型转换比较"><font><font>与类型转换比较</font></font></h3>
+<h3 id="与类型转换比较">与类型转换比较</h3>
<pre class="brush: js notranslate">"1" != 1; // false
1 != "1"; // false
@@ -64,7 +64,7 @@ const number2 = new Number(3);
number1 != 3; // false
number1 != number2; // true</pre>
-<h3 id="对象比较"><font><font>对象比较</font></font></h3>
+<h3 id="对象比较">对象比较</h3>
<pre class="brush: js notranslate">const object1 = {"key": "value"}
const object2 = {"key": "value"};
@@ -72,7 +72,7 @@ const object2 = {"key": "value"};
object1 != object2 // true
object2 != object2 // false</pre>
-<h2 id="规范"><font><font>规范</font></font></h2>
+<h2 id="规范">规范</h2>
<table class="standard-table">
<tbody>
@@ -85,7 +85,7 @@ object2 != object2 // false</pre>
</tbody>
</table>
-<h2 id="浏览器兼容性"><font><font>浏览器兼容性</font></font></h2>
+<h2 id="浏览器兼容性">浏览器兼容性</h2>
diff --git a/files/zh-cn/web/javascript/reference/operators/new.target/index.html b/files/zh-cn/web/javascript/reference/operators/new.target/index.html
index 63fd2f1b8a..ecc5d7932a 100644
--- a/files/zh-cn/web/javascript/reference/operators/new.target/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/new.target/index.html
@@ -18,7 +18,7 @@ translation_of: Web/JavaScript/Reference/Operators/new.target
<h2 id="描述">描述</h2>
-<p><code>new.target</code>语法由一个关键字"<code>new</code>",一个点,和一个属性名"<font face="Consolas, Liberation Mono, Courier, monospace">target</font>"组成。通常"<code>new.</code>"<code>的</code>作用是提供属性访问的上下文,但这里"<code>new.</code>"其实不是一个真正的对象。不过在构造方法调用中,<code>new.target</code>指向被<code>new</code>调用的构造函数,所以"<code>new.</code>"成为了一个虚拟上下文。</p>
+<p><code>new.target</code>语法由一个关键字"<code>new</code>",一个点,和一个属性名"<code>target</code>"组成。通常"<code>new.</code>"<code>的</code>作用是提供属性访问的上下文,但这里"<code>new.</code>"其实不是一个真正的对象。不过在构造方法调用中,<code>new.target</code>指向被<code>new</code>调用的构造函数,所以"<code>new.</code>"成为了一个虚拟上下文。</p>
<p><code>new.target</code>属性适用于所有函数访问的元属性。在  <a href="http://www.javascripttutorial.net/es6/javascript-arrow-function/">arrow functions</a> 中,<code>new.target</code> 指向最近的外层函数的<code>new.target</code>(An arrow function expression does not have its own this, arguments, super , or new.target) 。</p>
diff --git a/files/zh-cn/web/javascript/reference/operators/new/index.html b/files/zh-cn/web/javascript/reference/operators/new/index.html
index 488a6a647b..0b2d5c24c7 100644
--- a/files/zh-cn/web/javascript/reference/operators/new/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/new/index.html
@@ -39,12 +39,12 @@ translation_of: Web/JavaScript/Reference/Operators/new
<ol>
<li>创建一个空的简单JavaScript对象(即<code><strong>{}</strong></code>);</li>
- <li>为步骤1新创建的对象添加属性<font face="consolas, Liberation Mono, courier, monospace"><strong>__proto__</strong></font>,将该属性链接至构造函数的原型对象 ;</li>
+ <li>为步骤1新创建的对象添加属性<code><strong>__proto__</strong></code>,将该属性链接至构造函数的原型对象 ;</li>
<li>将步骤1新创建的对象作为<code><strong>this</strong></code>的上下文 ;</li>
<li>如果该函数没有返回对象,则返回<code><strong>this</strong></code>。</li>
</ol>
-<p>(译注:关于对象的 <font face="consolas, Liberation Mono, courier, monospace"><strong>constructor</strong></font>,参见 <font face="consolas, Liberation Mono, courier, monospace"><strong>Object.prototype.constructor</strong></font>)</p>
+<p>(译注:关于对象的 <code><strong>constructor</strong></code>,参见 <code><strong>Object.prototype.constructor</strong></code>)</p>
<p>创建一个用户自定义的对象需要两步:</p>
diff --git a/files/zh-cn/web/javascript/reference/operators/nullish_coalescing_operator/index.html b/files/zh-cn/web/javascript/reference/operators/nullish_coalescing_operator/index.html
index 5459522ff7..59b7443e60 100644
--- a/files/zh-cn/web/javascript/reference/operators/nullish_coalescing_operator/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/nullish_coalescing_operator/index.html
@@ -53,7 +53,7 @@ console.log(valC); // 42</pre>
// foo is never assigned any value so it is still undefined
let someDummyText = foo || 'Hello!';</pre>
-<p>然而,由于 <code>||</code> 是一个布尔逻辑运算符,左侧的操作数会被强制转换成布尔值用于求值。任何假值(<code>0</code>, <code>''</code>, <code>NaN</code>, <code>null</code>, <code>undefined</code>)都不会被返回。这导致如果你使用<code>0</code>,<code>''</code><font face="Arial, x-locale-body, sans-serif">或</font><code>NaN</code>作为有效值,就会出现不可预料的后果。</p>
+<p>然而,由于 <code>||</code> 是一个布尔逻辑运算符,左侧的操作数会被强制转换成布尔值用于求值。任何假值(<code>0</code>, <code>''</code>, <code>NaN</code>, <code>null</code>, <code>undefined</code>)都不会被返回。这导致如果你使用<code>0</code>,<code>''</code>或<code>NaN</code>作为有效值,就会出现不可预料的后果。</p>
<pre class="brush: js notranslate">let count = 0;
let text = "";
diff --git a/files/zh-cn/web/javascript/reference/operators/spread_syntax/index.html b/files/zh-cn/web/javascript/reference/operators/spread_syntax/index.html
index aaa1544a4c..0397ee8e96 100644
--- a/files/zh-cn/web/javascript/reference/operators/spread_syntax/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/spread_syntax/index.html
@@ -16,13 +16,13 @@ translation_of: Web/JavaScript/Reference/Operators/Spread_syntax
<p class="hidden">该示例的源代码存放于Github中,如果你想进行修订,请先克隆<a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a>, 修改完成之后再通过pull request的方式推送给源仓库。</p>
-<h2 id="语法"><font><font>语法</font></font></h2>
+<h2 id="语法">语法</h2>
-<p><font><font>函数调用:</font></font></p>
+<p>函数调用:</p>
<pre class="syntaxbox notranslate">myFunction(...iterableObj);</pre>
-<p><font><font>字面量数组构造或字符串:</font></font></p>
+<p>字面量数组构造或字符串:</p>
<pre class="notranslate">[...iterableObj, '4', ...'hello', 6];</pre>
@@ -30,25 +30,25 @@ translation_of: Web/JavaScript/Reference/Operators/Spread_syntax
<pre class="syntaxbox notranslate">let objClone = { ...obj };</pre>
-<h2 id="示例"><font><font>示例</font></font></h2>
+<h2 id="示例">示例</h2>
<h3 id="在函数调用时使用展开语法">在函数调用时使用展开语法</h3>
<h4 id="等价于apply的方式">等价于apply的方式</h4>
-<p><font><font>如果想将数组元素迭代为函数参数,一般使用</font></font>{{jsxref( "Function.prototype.apply")}} 的方式进行调用<font><font>。</font></font></p>
+<p>如果想将数组元素迭代为函数参数,一般使用{{jsxref( "Function.prototype.apply")}} 的方式进行调用。</p>
<pre class="brush: js notranslate">function myFunction(x, y, z) { }
var args = [0, 1, 2];
myFunction.apply(null, args);</pre>
-<p><font><font>有了展开语法,可以这样写:</font></font></p>
+<p>有了展开语法,可以这样写:</p>
<pre class="brush: js notranslate"><code>function myFunction(x, y, z) { }
var args = [0, 1, 2];
myFunction(...args);</code></pre>
-<p><font><font>所有参数都可以通过展开语法来传值,也不限制多次使用展开语法。</font></font></p>
+<p>所有参数都可以通过展开语法来传值,也不限制多次使用展开语法。</p>
<pre class="brush: js notranslate">function myFunction(v, w, x, y, z) { }
var args = [0, 1];
@@ -56,13 +56,13 @@ myFunction(-1, ...args, 2, ...[3]);</pre>
<h4 id="在_new_表达式中应用">在 new 表达式中应用</h4>
-<p><font><font>使用 </font></font><code>new</code><font><font> 关键字来调用构造函数时</font></font><font><font>,不能</font></font><strong><font><font>直接</font></font></strong><font><font>使用数组+ </font></font><code>apply</code><font><font> 的方式(</font></font><code>apply</code><font><font> 执行的是调用 </font></font><code>[[Call]]</code><font><font> , 而不是构造 </font></font><code>[[Construct]]</code><font><font>)。当然</font><font>, 有了展开语法, 将数组展开为构造函数的参数就很简单了:</font></font></p>
+<p>使用 <code>new</code> 关键字来调用构造函数时,不能<strong>直接</strong>使用数组+ <code>apply</code> 的方式(<code>apply</code> 执行的是调用 <code>[[Call]]</code> , 而不是构造 <code>[[Construct]]</code>)。当然, 有了展开语法, 将数组展开为构造函数的参数就很简单了:</p>
-<pre class="brush: js notranslate"><font><font>var dateFields = [1970, 0, 1]; </font><font>// 1970年1月1日</font></font><font><font>
+<pre class="brush: js notranslate">var dateFields = [1970, 0, 1]; // 1970年1月1日
var d = new Date(...dateFields);</font></font>
</pre>
-<p><font><font>如果不使用展开语法, 想将数组元素传给构造函数, 实现方式可能是这样的</font></font><font><font>:</font></font></p>
+<p>如果不使用展开语法, 想将数组元素传给构造函数, 实现方式可能是这样的:</p>
<pre class="brush: js notranslate">function applyAndNew(constructor, args) {
function partial () {
@@ -90,13 +90,13 @@ console.log(new myConstructorWithArguments);
// (myConstructor构造函数中): ["hi", "how", "are", "you", "mr", null]
// ("new myConstructorWithArguments"中): {prop1: "val1", prop2: "val2"}</pre>
-<h3 id="构造字面量数组时使用展开语法"><font><font>构造字面量数组时使用展开语法</font></font></h3>
+<h3 id="构造字面量数组时使用展开语法">构造字面量数组时使用展开语法</h3>
-<h4 id="构造字面量数组时更给力!"><font><font>构造字面量数组时更给力!</font></font></h4>
+<h4 id="构造字面量数组时更给力!">构造字面量数组时更给力!</h4>
-<p><font><font>没有展开语法的时候,只能组合使用 </font></font><code>push</code><font><font>, </font></font><code>splice</code><font><font>, </font></font><code>concat</code><font><font> 等方法,来将已有数组元素变成新数组的一部分。有了展开语法,  通过字面量方式, 构造新数组会变得更简单、更优雅:</font></font></p>
+<p>没有展开语法的时候,只能组合使用 <code>push</code>, <code>splice</code>, <code>concat</code> 等方法,来将已有数组元素变成新数组的一部分。有了展开语法,  通过字面量方式, 构造新数组会变得更简单、更优雅:</p>
-<pre class="brush: js notranslate"><font><font>var parts = ['shoulders', 'knees'];
+<pre class="brush: js notranslate">var parts = ['shoulders', 'knees'];
var lyrics = ['head', ...parts, 'and', 'toes']; </font></font>
// ["head", "shoulders", "knees", "and", "toes"]
</pre>
@@ -151,7 +151,7 @@ var arr2 = [3, 4, 5];
arr1 = [...arr2, ...arr1]; // arr1 现在为 [3, 4, 5, 0, 1, 2]
</pre>
-<h3 id="构造字面量对象时使用展开语法">构造<font><font>字面量对象时使用展开语法</font></font></h3>
+<h3 id="构造字面量对象时使用展开语法">构造字面量对象时使用展开语法</h3>
<p><a href="https://github.com/tc39/proposal-object-rest-spread">Rest/Spread Properties for ECMAScript</a> 提议(stage 4) 对 <a href="/zh-CN/docs/Web/JavaScript/Reference/Operators/Object_initializer">字面量对象</a> 增加了展开特性。其行为是, 将已有对象的所有可枚举(enumerable)属性拷贝到新构造的对象中.</p>
@@ -232,12 +232,12 @@ var array = [...obj]; // TypeError: obj is not iterable
</tbody>
</table>
-<h2 id="浏览器兼容性"><font><font>浏览器兼容性</font></font></h2>
+<h2 id="浏览器兼容性">浏览器兼容性</h2>
<p>{{Compat("javascript.operators.spread")}}</p>
<h2 id="相关链接">相关链接</h2>
<ul>
- <li><a href="/zh-CN/docs/Web/JavaScript/Reference/Functions/Rest_parameters"><font><font>剩余参数</font></font></a><font><font>(Rest Parameters也使用' </font></font><code>...</code><font><font> ')</font></font></li>
+ <li><a href="/zh-CN/docs/Web/JavaScript/Reference/Functions/Rest_parameters">剩余参数</a>(Rest Parameters也使用' <code>...</code> ')</li>
</ul>
diff --git a/files/zh-cn/web/javascript/reference/statements/if...else/index.html b/files/zh-cn/web/javascript/reference/statements/if...else/index.html
index ea26ed78af..8b57fa8188 100644
--- a/files/zh-cn/web/javascript/reference/statements/if...else/index.html
+++ b/files/zh-cn/web/javascript/reference/statements/if...else/index.html
@@ -78,7 +78,7 @@ else
}
</pre>
-<p>不要将原始布尔值的<code>true</code>和<code>false</code>与<a href="/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Boolean" title="en/JavaScript/Reference/Global_Objects/Boolean">Boolean</a>对象的真或假混淆。任何一个值,只要它不是 <code>undefined</code><font face="Open Sans, Arial, sans-serif">、</font><code>null</code>、<code>false</code>、 <code>0</code><font face="Open Sans, Arial, sans-serif">、</font><code>NaN</code>或空字符串(<code>""</code>),那么无论是任何对象,即使是值为假的Boolean对象,在条件语句中都为真。例如:</p>
+<p>不要将原始布尔值的<code>true</code>和<code>false</code>与<a href="/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Boolean" title="en/JavaScript/Reference/Global_Objects/Boolean">Boolean</a>对象的真或假混淆。任何一个值,只要它不是 <code>undefined</code>、<code>null</code>、 <code>0</code>、<code>NaN</code>或空字符串(<code>""</code>),那么无论是任何对象,即使是值为假的Boolean对象,在条件语句中都为真。例如:</p>
<pre class="brush: js">var b = new Boolean(false);
if (b) //表达式的值为true
diff --git a/files/zh-cn/web/javascript/reference/statements/import/index.html b/files/zh-cn/web/javascript/reference/statements/import/index.html
index 0c7f0a0a4f..eac05517ff 100644
--- a/files/zh-cn/web/javascript/reference/statements/import/index.html
+++ b/files/zh-cn/web/javascript/reference/statements/import/index.html
@@ -99,7 +99,7 @@ var promise = import("module-name");//这是一个处于第三阶段的提案。
<h3 id="导入默认值">导入默认值</h3>
-<p><code><font face="Arial, x-locale-body, sans-serif">引入模块可能有一个</font>default</code>{{jsxref("Statements/export", "export")}}(无论它是对象,函数,类等)可用。然后可以使用<code>import</code>语句来导入这样的默认接口。</p>
+<p><code>引入模块可能有一个default</code>{{jsxref("Statements/export", "export")}}(无论它是对象,函数,类等)可用。然后可以使用<code>import</code>语句来导入这样的默认接口。</p>
<p>最简单的用法是直接导入默认值:</p>
diff --git a/files/zh-cn/web/javascript/reference/statements/with/index.html b/files/zh-cn/web/javascript/reference/statements/with/index.html
index b4ff4753b2..32ce03679b 100644
--- a/files/zh-cn/web/javascript/reference/statements/with/index.html
+++ b/files/zh-cn/web/javascript/reference/statements/with/index.html
@@ -60,14 +60,14 @@ translation_of: Web/JavaScript/Reference/Statements/with
}
</pre>
-<p><font face="Open Sans, Arial, sans-serif">如果是在</font>ECMAScript 5环境调用<code>f([1,2,3], obj)</code>,则<code><font face="Open Sans, Arial, sans-serif">with</font></code>语句中变量<code>values</code>将指向函数的第二个参数<code>values</code>。但是,ECMAScript 6标准给<code><a href="/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/prototype">Array.prototype</a></code>添加了一个新属性<code>values</code>,所有数组实例将继承这个属性。所以在ECMAScript 6环境中,<code><font face="Open Sans, Arial, sans-serif">with</font></code>语句中变量<code>values</code>将指向<code>[1,2,3].values</code>。</p>
+<p>如果是在ECMAScript 5环境调用<code>f([1,2,3], obj)</code>,则<code>with</code>语句中变量<code>values</code>将指向函数的第二个参数<code>values</code>。但是,ECMAScript 6标准给<code><a href="/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/prototype">Array.prototype</a></code>添加了一个新属性<code>values</code>,所有数组实例将继承这个属性。所以在ECMAScript 6环境中,<code>with</code>语句中变量<code>values</code>将指向<code>[1,2,3].values</code>。</p>
</div>
<h2 id="Examples" name="Examples">示例</h2>
<h3 id="Example_Using_with" name="Example:_Using_with">Example: Using <code>with</code></h3>
-<p>下面的<code>with</code>语句指定<code><a href="/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math" title="JavaScript/Reference/Global_Objects/Math">Math</a></code>对象作为默认对象。<code>with</code>语句里面的变量,分別指向<code>Math</code>对象的<a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/PI" title="JavaScript/Reference/Global_Objects/Math/PI"><code>PI</code></a> 、<code><a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/cos" title="JavaScript/Reference/Global_Objects/Math/cos">cos</a><font face="Open Sans, Arial, sans-serif">和</font></code><code><a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sin" title="JavaScript/Reference/Global_Objects/Math/sin">sin</a></code>函数,不用在前面添加命名空间。后续所有引用都指向<code>Math</code>对象。</p>
+<p>下面的<code>with</code>语句指定<code><a href="/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math" title="JavaScript/Reference/Global_Objects/Math">Math</a></code>对象作为默认对象。<code>with</code>语句里面的变量,分別指向<code>Math</code>对象的<a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/PI" title="JavaScript/Reference/Global_Objects/Math/PI"><code>PI</code></a> 、<code><a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/cos" title="JavaScript/Reference/Global_Objects/Math/cos">cos</a>和</code><code><a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sin" title="JavaScript/Reference/Global_Objects/Math/sin">sin</a></code>函数,不用在前面添加命名空间。后续所有引用都指向<code>Math</code>对象。</p>
<pre class="brush:js notranslate">var a, x, y;
var r = 10;