aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/operators/unsigned_right_shift
diff options
context:
space:
mode:
authorIrvin <irvinfly@gmail.com>2022-02-16 02:02:49 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commit01b0e12ba27b5069248fd09235e9a7143915ee30 (patch)
tree0e9edf538dc3fa3331e1dbb79239b58186765f86 /files/zh-cn/web/javascript/reference/operators/unsigned_right_shift
parent6ca84f1794af830ada9736d7289ce29aabb04ca3 (diff)
downloadtranslated-content-01b0e12ba27b5069248fd09235e9a7143915ee30.tar.gz
translated-content-01b0e12ba27b5069248fd09235e9a7143915ee30.tar.bz2
translated-content-01b0e12ba27b5069248fd09235e9a7143915ee30.zip
remove `notranslate` class in zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/operators/unsigned_right_shift')
-rw-r--r--files/zh-cn/web/javascript/reference/operators/unsigned_right_shift/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/files/zh-cn/web/javascript/reference/operators/unsigned_right_shift/index.html b/files/zh-cn/web/javascript/reference/operators/unsigned_right_shift/index.html
index f40a28e8b0..52f18ea92c 100644
--- a/files/zh-cn/web/javascript/reference/operators/unsigned_right_shift/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/unsigned_right_shift/index.html
@@ -13,7 +13,7 @@ translation_of: Web/JavaScript/Reference/Operators/Unsigned_right_shift
<h2 id="语法">语法</h2>
-<pre class="syntaxbox notranslate"><code><var>a</var> &gt;&gt;&gt; <var>b</var></code>
+<pre class="syntaxbox"><code><var>a</var> &gt;&gt;&gt; <var>b</var></code>
</pre>
<h2 id="描述">描述</h2>
@@ -22,14 +22,14 @@ translation_of: Web/JavaScript/Reference/Operators/Unsigned_right_shift
<p>For non-negative numbers, zero-fill right shift and sign-propagating right shift yield the same result. For example, <code>9 &gt;&gt;&gt; 2</code> yields 2, the same as <code>9 &gt;&gt; 2</code>:</p>
-<pre class="brush: js notranslate">. 9 (base 10): 00000000000000000000000000001001 (base 2)
+<pre class="brush: js">. 9 (base 10): 00000000000000000000000000001001 (base 2)
--------------------------------
9 &gt;&gt;&gt; 2 (base 10): 00000000000000000000000000000010 (base 2) = 2 (base 10)
</pre>
<p>However, this is not the case for negative numbers. For example, <code>-9 &gt;&gt;&gt; 2</code> yields 1073741821, which is different than <code>-9 &gt;&gt; 2</code> (which yields <code>-3</code>):</p>
-<pre class="brush: js notranslate">. -9 (base 10): 11111111111111111111111111110111 (base 2)
+<pre class="brush: js">. -9 (base 10): 11111111111111111111111111110111 (base 2)
--------------------------------
-9 &gt;&gt;&gt; 2 (base 10): 00111111111111111111111111111101 (base 2) = 1073741821 (base 10)
</pre>
@@ -38,7 +38,7 @@ translation_of: Web/JavaScript/Reference/Operators/Unsigned_right_shift
<h3 id="Using_unsigned_right_shift">Using unsigned right shift</h3>
-<pre class="brush: js notranslate"> 9 &gt;&gt;&gt; 2; // 2
+<pre class="brush: js"> 9 &gt;&gt;&gt; 2; // 2
-9 &gt;&gt;&gt; 2; // 1073741821
</pre>