diff options
| author | Irvin <irvinfly@gmail.com> | 2022-02-16 02:08:24 +0800 |
|---|---|---|
| committer | Irvin <irvinfly@gmail.com> | 2022-02-16 02:35:54 +0800 |
| commit | 8d1313c84cc82d81363ed62b75baedb9a65ff2e3 (patch) | |
| tree | fcf531cdea6491c848cc17fc44efe5b18466e54b /files/zh-cn/web/javascript/equality_comparisons_and_sameness | |
| parent | a2617e517fe48fbd0fc283e05c82e32765a3fb12 (diff) | |
| download | translated-content-8d1313c84cc82d81363ed62b75baedb9a65ff2e3.tar.gz translated-content-8d1313c84cc82d81363ed62b75baedb9a65ff2e3.tar.bz2 translated-content-8d1313c84cc82d81363ed62b75baedb9a65ff2e3.zip | |
remove font tag in zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/equality_comparisons_and_sameness')
| -rw-r--r-- | files/zh-cn/web/javascript/equality_comparisons_and_sameness/index.html | 10 |
1 files changed, 5 insertions, 5 deletions
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> |
