aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/operators/left_shift
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/operators/left_shift')
-rw-r--r--files/zh-cn/web/javascript/reference/operators/left_shift/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/javascript/reference/operators/left_shift/index.html b/files/zh-cn/web/javascript/reference/operators/left_shift/index.html
index 83fe088941..4bae0bcde0 100644
--- a/files/zh-cn/web/javascript/reference/operators/left_shift/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/left_shift/index.html
@@ -13,7 +13,7 @@ translation_of: Web/JavaScript/Reference/Operators/Left_shift
<h2 id="语法">语法</h2>
-<pre class="syntaxbox notranslate"><code><var>a</var> &lt;&lt; <var>b</var></code>
+<pre class="syntaxbox"><code><var>a</var> &lt;&lt; <var>b</var></code>
</pre>
<h2 id="描述">描述</h2>
@@ -22,7 +22,7 @@ translation_of: Web/JavaScript/Reference/Operators/Left_shift
<p>例如, <code>9 &lt;&lt; 2</code> 得出 36:</p>
-<pre class="brush: js notranslate">. 9 (十进制): 00000000000000000000000000001001 (二进制)
+<pre class="brush: js">. 9 (十进制): 00000000000000000000000000001001 (二进制)
--------------------------------
9 &lt;&lt; 2 (十进制): 00000000000000000000000000100100 (二进制) = 36 (十进制)
</pre>
@@ -34,7 +34,7 @@ translation_of: Web/JavaScript/Reference/Operators/Left_shift
<h3 id="使用左移">使用左移</h3>
-<pre class="brush: js notranslate">9 &lt;&lt; 3; // 72
+<pre class="brush: js">9 &lt;&lt; 3; // 72
// 9 * 2³ = 9 * 8 = 72
</pre>