aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/operators/inequality/index.html
diff options
context:
space:
mode:
authorIrvin <irvinfly@gmail.com>2022-02-16 02:08:24 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commit8d1313c84cc82d81363ed62b75baedb9a65ff2e3 (patch)
treefcf531cdea6491c848cc17fc44efe5b18466e54b /files/zh-cn/web/javascript/reference/operators/inequality/index.html
parenta2617e517fe48fbd0fc283e05c82e32765a3fb12 (diff)
downloadtranslated-content-8d1313c84cc82d81363ed62b75baedb9a65ff2e3.tar.gz
translated-content-8d1313c84cc82d81363ed62b75baedb9a65ff2e3.tar.bz2
translated-content-8d1313c84cc82d81363ed62b75baedb9a65ff2e3.zip
remove font tag in zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/operators/inequality/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/operators/inequality/index.html24
1 files changed, 12 insertions, 12 deletions
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>