From 283c65cafc545c37b57ed0493b5c5e053ecbbb92 Mon Sep 17 00:00:00 2001
From: catlair <catlair@qq.com>
Date: Thu, 10 Mar 2022 18:45:51 +0800
Subject: convert to markdown

---
 .../operators/left_shift_assignment/index.html     | 55 -----------------
 .../operators/left_shift_assignment/index.md       | 55 +++++++++++++++++
 .../reference/operators/right_shift/index.html     | 69 ----------------------
 .../reference/operators/right_shift/index.md       | 69 ++++++++++++++++++++++
 .../operators/right_shift_assignment/index.html    | 55 -----------------
 .../operators/right_shift_assignment/index.md      | 55 +++++++++++++++++
 6 files changed, 179 insertions(+), 179 deletions(-)
 delete mode 100644 files/zh-cn/web/javascript/reference/operators/left_shift_assignment/index.html
 create mode 100644 files/zh-cn/web/javascript/reference/operators/left_shift_assignment/index.md
 delete mode 100644 files/zh-cn/web/javascript/reference/operators/right_shift/index.html
 create mode 100644 files/zh-cn/web/javascript/reference/operators/right_shift/index.md
 delete mode 100644 files/zh-cn/web/javascript/reference/operators/right_shift_assignment/index.html
 create mode 100644 files/zh-cn/web/javascript/reference/operators/right_shift_assignment/index.md

(limited to 'files')

diff --git a/files/zh-cn/web/javascript/reference/operators/left_shift_assignment/index.html b/files/zh-cn/web/javascript/reference/operators/left_shift_assignment/index.html
deleted file mode 100644
index 4499d3473c..0000000000
--- a/files/zh-cn/web/javascript/reference/operators/left_shift_assignment/index.html
+++ /dev/null
@@ -1,55 +0,0 @@
----
-title: Left shift assignment (<<=)
-slug: Web/JavaScript/Reference/Operators/Left_shift_assignment
-translation_of: Web/JavaScript/Reference/Operators/Left_shift_assignment
----
-<div>{{jsSidebar("Operators")}}</div>
-
-<p>The left shift assignment operator (<code>&lt;&lt;=</code>) moves the specified amount of bits to the left and assigns the result to the variable.</p>
-
-<div>{{EmbedInteractiveExample("pages/js/expressions-left-shift-assignment.html")}}</div>
-
-
-
-
-
-<h2 id="语法">语法</h2>
-
-<pre class="syntaxbox"><strong>Operator:</strong> x &lt;&lt;= y
-<strong>Meaning:</strong>  x   = x &lt;&lt; y</pre>
-
-<h2 id="Examples">Examples</h2>
-
-<h3 id="Using_left_shift_assignment">Using left shift assignment</h3>
-
-<pre class="brush: js">let a = 5;
-// 00000000000000000000000000000101
-
-a &lt;&lt;= 2; // 20
-// 00000000000000000000000000010100</pre>
-
-<h2 id="Specifications">Specifications</h2>
-
-<table class="standard-table">
- <tbody>
-  <tr>
-   <th scope="col">Specification</th>
-  </tr>
-  <tr>
-   <td>{{SpecName('ESDraft', '#sec-assignment-operators', 'Assignment operators')}}</td>
-  </tr>
- </tbody>
-</table>
-
-<h2 id="Browser_compatibility">Browser compatibility</h2>
-
-
-
-<p>{{Compat("javascript.operators.left_shift_assignment")}}</p>
-
-<h2 id="See_also">See also</h2>
-
-<ul>
- <li><a href="/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#Assignment">Assignment operators in the JS guide</a></li>
- <li><a href="/en-US/docs/Web/JavaScript/Reference/Operators/Left_shift">Left shift operator</a></li>
-</ul>
diff --git a/files/zh-cn/web/javascript/reference/operators/left_shift_assignment/index.md b/files/zh-cn/web/javascript/reference/operators/left_shift_assignment/index.md
new file mode 100644
index 0000000000..4499d3473c
--- /dev/null
+++ b/files/zh-cn/web/javascript/reference/operators/left_shift_assignment/index.md
@@ -0,0 +1,55 @@
+---
+title: Left shift assignment (<<=)
+slug: Web/JavaScript/Reference/Operators/Left_shift_assignment
+translation_of: Web/JavaScript/Reference/Operators/Left_shift_assignment
+---
+<div>{{jsSidebar("Operators")}}</div>
+
+<p>The left shift assignment operator (<code>&lt;&lt;=</code>) moves the specified amount of bits to the left and assigns the result to the variable.</p>
+
+<div>{{EmbedInteractiveExample("pages/js/expressions-left-shift-assignment.html")}}</div>
+
+
+
+
+
+<h2 id="语法">语法</h2>
+
+<pre class="syntaxbox"><strong>Operator:</strong> x &lt;&lt;= y
+<strong>Meaning:</strong>  x   = x &lt;&lt; y</pre>
+
+<h2 id="Examples">Examples</h2>
+
+<h3 id="Using_left_shift_assignment">Using left shift assignment</h3>
+
+<pre class="brush: js">let a = 5;
+// 00000000000000000000000000000101
+
+a &lt;&lt;= 2; // 20
+// 00000000000000000000000000010100</pre>
+
+<h2 id="Specifications">Specifications</h2>
+
+<table class="standard-table">
+ <tbody>
+  <tr>
+   <th scope="col">Specification</th>
+  </tr>
+  <tr>
+   <td>{{SpecName('ESDraft', '#sec-assignment-operators', 'Assignment operators')}}</td>
+  </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility">Browser compatibility</h2>
+
+
+
+<p>{{Compat("javascript.operators.left_shift_assignment")}}</p>
+
+<h2 id="See_also">See also</h2>
+
+<ul>
+ <li><a href="/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#Assignment">Assignment operators in the JS guide</a></li>
+ <li><a href="/en-US/docs/Web/JavaScript/Reference/Operators/Left_shift">Left shift operator</a></li>
+</ul>
diff --git a/files/zh-cn/web/javascript/reference/operators/right_shift/index.html b/files/zh-cn/web/javascript/reference/operators/right_shift/index.html
deleted file mode 100644
index b8275e16d7..0000000000
--- a/files/zh-cn/web/javascript/reference/operators/right_shift/index.html
+++ /dev/null
@@ -1,69 +0,0 @@
----
-title: Right shift (>>)
-slug: Web/JavaScript/Reference/Operators/Right_shift
-translation_of: Web/JavaScript/Reference/Operators/Right_shift
----
-<div>{{jsSidebar("Operators")}}</div>
-
-<p>The <strong>right shift operator (<code>&gt;&gt;</code>)</strong> shifts the first operand the specified number of bits to the right. Excess bits shifted off to the right are discarded. Copies of the leftmost bit are shifted in from the left. Since the new leftmost bit has the same value as the previous leftmost bit, the sign bit (the leftmost bit) does not change. Hence the name "sign-propagating".</p>
-
-<div>{{EmbedInteractiveExample("pages/js/expressions-right-shift.html")}}</div>
-
-<h2 id="语法">语法</h2>
-
-<pre class="syntaxbox"><code><var>a</var> &gt;&gt; <var>b</var></code>
-</pre>
-
-<h2 id="Description">Description</h2>
-
-<p>This operator shifts the first operand the specified number of bits to the right. Excess bits shifted off to the right are discarded. Copies of the leftmost bit are shifted in from the left. Since the new leftmost bit has the same value as the previous leftmost bit, the sign bit (the leftmost bit) does not change. Hence the name "sign-propagating".</p>
-
-<p>For example, <code>9 &gt;&gt; 2</code> yields 2:</p>
-
-<pre class="brush: js">.    9 (base 10): 00000000000000000000000000001001 (base 2)
-                  --------------------------------
-9 &gt;&gt; 2 (base 10): 00000000000000000000000000000010 (base 2) = 2 (base 10)
-</pre>
-
-<p>Likewise, <code>-9 &gt;&gt; 2</code> yields <code>-3</code>, because the sign is preserved:</p>
-
-<pre class="brush: js">.    -9 (base 10): 11111111111111111111111111110111 (base 2)
-                   --------------------------------
--9 &gt;&gt; 2 (base 10): 11111111111111111111111111111101 (base 2) = -3 (base 10)
-</pre>
-
-<h2 id="Examples">Examples</h2>
-
-<h3 id="Using_right_shift">Using right shift</h3>
-
-<pre class="brush: js"> 9 &gt;&gt; 2; //  2
--9 &gt;&gt; 2; // -3
-</pre>
-
-<h2 id="Specifications">Specifications</h2>
-
-<table class="standard-table">
- <thead>
-  <tr>
-   <th scope="col">Specification</th>
-  </tr>
- </thead>
- <tbody>
-  <tr>
-   <td>{{SpecName('ESDraft', '#sec-bitwise-shift-operators', 'Bitwise Shift Operators')}}</td>
-  </tr>
- </tbody>
-</table>
-
-<h2 id="Browser_compatibility">Browser compatibility</h2>
-
-
-
-<p>{{Compat("javascript.operators.right_shift")}}</p>
-
-<h2 id="See_also">See also</h2>
-
-<ul>
- <li><a href="/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#Bitwise">Bitwise operators in the JS guide</a></li>
- <li><a href="/en-US/docs/Web/JavaScript/Reference/Operators/Right_shift_assignment">Right shift assignment operator</a></li>
-</ul>
diff --git a/files/zh-cn/web/javascript/reference/operators/right_shift/index.md b/files/zh-cn/web/javascript/reference/operators/right_shift/index.md
new file mode 100644
index 0000000000..b8275e16d7
--- /dev/null
+++ b/files/zh-cn/web/javascript/reference/operators/right_shift/index.md
@@ -0,0 +1,69 @@
+---
+title: Right shift (>>)
+slug: Web/JavaScript/Reference/Operators/Right_shift
+translation_of: Web/JavaScript/Reference/Operators/Right_shift
+---
+<div>{{jsSidebar("Operators")}}</div>
+
+<p>The <strong>right shift operator (<code>&gt;&gt;</code>)</strong> shifts the first operand the specified number of bits to the right. Excess bits shifted off to the right are discarded. Copies of the leftmost bit are shifted in from the left. Since the new leftmost bit has the same value as the previous leftmost bit, the sign bit (the leftmost bit) does not change. Hence the name "sign-propagating".</p>
+
+<div>{{EmbedInteractiveExample("pages/js/expressions-right-shift.html")}}</div>
+
+<h2 id="语法">语法</h2>
+
+<pre class="syntaxbox"><code><var>a</var> &gt;&gt; <var>b</var></code>
+</pre>
+
+<h2 id="Description">Description</h2>
+
+<p>This operator shifts the first operand the specified number of bits to the right. Excess bits shifted off to the right are discarded. Copies of the leftmost bit are shifted in from the left. Since the new leftmost bit has the same value as the previous leftmost bit, the sign bit (the leftmost bit) does not change. Hence the name "sign-propagating".</p>
+
+<p>For example, <code>9 &gt;&gt; 2</code> yields 2:</p>
+
+<pre class="brush: js">.    9 (base 10): 00000000000000000000000000001001 (base 2)
+                  --------------------------------
+9 &gt;&gt; 2 (base 10): 00000000000000000000000000000010 (base 2) = 2 (base 10)
+</pre>
+
+<p>Likewise, <code>-9 &gt;&gt; 2</code> yields <code>-3</code>, because the sign is preserved:</p>
+
+<pre class="brush: js">.    -9 (base 10): 11111111111111111111111111110111 (base 2)
+                   --------------------------------
+-9 &gt;&gt; 2 (base 10): 11111111111111111111111111111101 (base 2) = -3 (base 10)
+</pre>
+
+<h2 id="Examples">Examples</h2>
+
+<h3 id="Using_right_shift">Using right shift</h3>
+
+<pre class="brush: js"> 9 &gt;&gt; 2; //  2
+-9 &gt;&gt; 2; // -3
+</pre>
+
+<h2 id="Specifications">Specifications</h2>
+
+<table class="standard-table">
+ <thead>
+  <tr>
+   <th scope="col">Specification</th>
+  </tr>
+ </thead>
+ <tbody>
+  <tr>
+   <td>{{SpecName('ESDraft', '#sec-bitwise-shift-operators', 'Bitwise Shift Operators')}}</td>
+  </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility">Browser compatibility</h2>
+
+
+
+<p>{{Compat("javascript.operators.right_shift")}}</p>
+
+<h2 id="See_also">See also</h2>
+
+<ul>
+ <li><a href="/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#Bitwise">Bitwise operators in the JS guide</a></li>
+ <li><a href="/en-US/docs/Web/JavaScript/Reference/Operators/Right_shift_assignment">Right shift assignment operator</a></li>
+</ul>
diff --git a/files/zh-cn/web/javascript/reference/operators/right_shift_assignment/index.html b/files/zh-cn/web/javascript/reference/operators/right_shift_assignment/index.html
deleted file mode 100644
index f3698e9737..0000000000
--- a/files/zh-cn/web/javascript/reference/operators/right_shift_assignment/index.html
+++ /dev/null
@@ -1,55 +0,0 @@
----
-title: Right shift assignment (>>=)
-slug: Web/JavaScript/Reference/Operators/Right_shift_assignment
-translation_of: Web/JavaScript/Reference/Operators/Right_shift_assignment
----
-<div>{{jsSidebar("Operators")}}</div>
-
-<p>The right shift assignment operator (<code>&gt;&gt;=</code>) moves the specified amount of bits to the right and assigns the result to the variable.</p>
-
-<div>{{EmbedInteractiveExample("pages/js/expressions-right-shift-assignment.html")}}</div>
-
-
-
-
-
-<h2 id="语法">语法</h2>
-
-<pre class="syntaxbox"><strong>Operator:</strong> x &gt;&gt;= y
-<strong>Meaning:</strong>  x   = x &gt;&gt; y</pre>
-
-<h2 id="Examples">Examples</h2>
-
-<h3 id="Using_right_shift_assignment">Using right shift assignment</h3>
-
-<pre class="brush: js">let a = 5; //   (00000000000000000000000000000101)
-a &gt;&gt;= 2;   // 1 (00000000000000000000000000000001)
-
-let b = -5; //  (-00000000000000000000000000000101)
-b &gt;&gt;= 2;  // -2 (-00000000000000000000000000000010)</pre>
-
-<h2 id="Specifications">Specifications</h2>
-
-<table class="standard-table">
- <tbody>
-  <tr>
-   <th scope="col">Specification</th>
-  </tr>
-  <tr>
-   <td>{{SpecName('ESDraft', '#sec-assignment-operators', 'Assignment operators')}}</td>
-  </tr>
- </tbody>
-</table>
-
-<h2 id="Browser_compatibility">Browser compatibility</h2>
-
-
-
-<p>{{Compat("javascript.operators.right_shift_assignment")}}</p>
-
-<h2 id="See_also">See also</h2>
-
-<ul>
- <li><a href="/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#Assignment">Assignment operators in the JS guide</a></li>
- <li><a href="/en-US/docs/Web/JavaScript/Reference/Operators/Right_shift">Right shift operator</a></li>
-</ul>
diff --git a/files/zh-cn/web/javascript/reference/operators/right_shift_assignment/index.md b/files/zh-cn/web/javascript/reference/operators/right_shift_assignment/index.md
new file mode 100644
index 0000000000..f3698e9737
--- /dev/null
+++ b/files/zh-cn/web/javascript/reference/operators/right_shift_assignment/index.md
@@ -0,0 +1,55 @@
+---
+title: Right shift assignment (>>=)
+slug: Web/JavaScript/Reference/Operators/Right_shift_assignment
+translation_of: Web/JavaScript/Reference/Operators/Right_shift_assignment
+---
+<div>{{jsSidebar("Operators")}}</div>
+
+<p>The right shift assignment operator (<code>&gt;&gt;=</code>) moves the specified amount of bits to the right and assigns the result to the variable.</p>
+
+<div>{{EmbedInteractiveExample("pages/js/expressions-right-shift-assignment.html")}}</div>
+
+
+
+
+
+<h2 id="语法">语法</h2>
+
+<pre class="syntaxbox"><strong>Operator:</strong> x &gt;&gt;= y
+<strong>Meaning:</strong>  x   = x &gt;&gt; y</pre>
+
+<h2 id="Examples">Examples</h2>
+
+<h3 id="Using_right_shift_assignment">Using right shift assignment</h3>
+
+<pre class="brush: js">let a = 5; //   (00000000000000000000000000000101)
+a &gt;&gt;= 2;   // 1 (00000000000000000000000000000001)
+
+let b = -5; //  (-00000000000000000000000000000101)
+b &gt;&gt;= 2;  // -2 (-00000000000000000000000000000010)</pre>
+
+<h2 id="Specifications">Specifications</h2>
+
+<table class="standard-table">
+ <tbody>
+  <tr>
+   <th scope="col">Specification</th>
+  </tr>
+  <tr>
+   <td>{{SpecName('ESDraft', '#sec-assignment-operators', 'Assignment operators')}}</td>
+  </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility">Browser compatibility</h2>
+
+
+
+<p>{{Compat("javascript.operators.right_shift_assignment")}}</p>
+
+<h2 id="See_also">See also</h2>
+
+<ul>
+ <li><a href="/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#Assignment">Assignment operators in the JS guide</a></li>
+ <li><a href="/en-US/docs/Web/JavaScript/Reference/Operators/Right_shift">Right shift operator</a></li>
+</ul>
-- 
cgit v1.2.3-54-g00ecf