aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/operators/greater_than/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/operators/greater_than/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/operators/greater_than/index.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/files/zh-cn/web/javascript/reference/operators/greater_than/index.html b/files/zh-cn/web/javascript/reference/operators/greater_than/index.html
index afb4a2d134..0c8c8a8328 100644
--- a/files/zh-cn/web/javascript/reference/operators/greater_than/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/greater_than/index.html
@@ -13,7 +13,7 @@ translation_of: Web/JavaScript/Reference/Operators/Greater_than
<h2 id="语法">语法</h2>
-<pre class="syntaxbox notranslate">x &gt; y</pre>
+<pre class="syntaxbox">x &gt; y</pre>
<h2 id="描述">描述</h2>
@@ -23,13 +23,13 @@ translation_of: Web/JavaScript/Reference/Operators/Greater_than
<h3 id="字符串的比较">字符串的比较</h3>
-<pre class="brush: js notranslate">console.log("a" &gt; "b"); // false
+<pre class="brush: js">console.log("a" &gt; "b"); // false
console.log("a" &gt; "a"); // false
console.log("a" &gt; "3"); // true</pre>
<h3 id="字符串和数字的比较">字符串和数字的比较</h3>
-<pre class="brush: js notranslate">console.log("5" &gt; 3); // true
+<pre class="brush: js">console.log("5" &gt; 3); // true
console.log("3" &gt; 3); // false
console.log("3" &gt; 5); // false
@@ -41,18 +41,18 @@ console.log("3" &gt; 5n); // false</pre>
<h3 id="数字间的比较">数字间的比较</h3>
-<pre class="brush: js notranslate">console.log(5 &gt; 3); // true
+<pre class="brush: js">console.log(5 &gt; 3); // true
console.log(3 &gt; 3); // false
console.log(3 &gt; 5); // false</pre>
<h3 id="数字和_BigInt_数据的比较">数字和 BigInt 数据的比较</h3>
-<pre class="brush: js notranslate">console.log(5n &gt; 3); // true
+<pre class="brush: js">console.log(5n &gt; 3); // true
console.log(3 &gt; 5n); // false</pre>
<h3 id="Boolean_null_undefined_NaN的比较">Boolean, null, undefined, NaN的比较</h3>
-<pre class="brush: js notranslate">console.log(true &gt; false); // true
+<pre class="brush: js">console.log(true &gt; false); // true
console.log(false &gt; true); // false
console.log(true &gt; 0); // true