aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/javascript
diff options
context:
space:
mode:
authort7yang <t7yang@gmail.com>2022-01-10 08:38:06 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commitf7b137a3dff09fb8f976140d16029ad6ec5cf2b5 (patch)
treeae0836eb0104a5870f1a87f1f3320a3d506c9e17 /files/zh-tw/web/javascript
parent01b0e12ba27b5069248fd09235e9a7143915ee30 (diff)
downloadtranslated-content-f7b137a3dff09fb8f976140d16029ad6ec5cf2b5.tar.gz
translated-content-f7b137a3dff09fb8f976140d16029ad6ec5cf2b5.tar.bz2
translated-content-f7b137a3dff09fb8f976140d16029ad6ec5cf2b5.zip
remove id attribute not in heading for zh-TW
Diffstat (limited to 'files/zh-tw/web/javascript')
-rw-r--r--files/zh-tw/web/javascript/guide/details_of_the_object_model/index.html6
-rw-r--r--files/zh-tw/web/javascript/guide/grammar_and_types/index.html2
-rw-r--r--files/zh-tw/web/javascript/guide/working_with_objects/index.html2
-rw-r--r--files/zh-tw/web/javascript/index.html6
-rw-r--r--files/zh-tw/web/javascript/reference/classes/constructor/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/classes/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/classes/static/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/functions/arguments/callee/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/functions/default_parameters/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/functions/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/arraybuffer/index.html6
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/boolean/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/dataview/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/date/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/date/now/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/date/utc/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/error/columnnumber/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/error/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/function/apply/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/function/bind/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/function/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/function/length/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/json/parse/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/json/stringify/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/math/round/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/null/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/number/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/number/toexponential/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/object/assign/index.html2
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/object/create/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/object/defineproperties/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/object/getprototypeof/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/object/hasownproperty/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/object/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/object/keys/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/object/preventextensions/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/reflect/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/string/padstart/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/operators/await/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/operators/comma_operator/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/operators/object_initializer/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/statements/for...in/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/statements/throw/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/statements/var/index.html4
-rw-r--r--files/zh-tw/web/javascript/typed_arrays/index.html4
45 files changed, 88 insertions, 92 deletions
diff --git a/files/zh-tw/web/javascript/guide/details_of_the_object_model/index.html b/files/zh-tw/web/javascript/guide/details_of_the_object_model/index.html
index f018d78c68..cb088eebb8 100644
--- a/files/zh-tw/web/javascript/guide/details_of_the_object_model/index.html
+++ b/files/zh-tw/web/javascript/guide/details_of_the_object_model/index.html
@@ -239,7 +239,7 @@ public class Engineer extends WorkerBee {
<p>{{ note('術語 <em><em>實例(instance)</em></em>在 基於類的語言中具有特定的技術含義。在這些語言中,實例是指類的個體成員,與類有著根本性的不同。在 JavaScript 中,“實例”並不具有這種技術含義,因為 JavaScript 中不存在類和實例之間的這種差異。然而,在談論 JavaScript 時,“實例”可以非正式地用於表示用特定的建構函數創建的物件。所以,在這個例子中,你可以非正式地 <code>jane</code> 是 <code>Engineer</code> 的一個實例。與之類似,儘管術語<em>父(parent)</em>,<em>子(child)</em>,<em>祖先(ancestor)</em>,和<em>後代(descendant)</em>在 JavaScript 中並沒有正式的含義,您可以非正式地使用這些術語用於指代原型鏈中處於更高層次或者更低層次的物件。') }}</p>
<p><img alt="figure8.3.png" class="default internal" id="figure8.3" src="/@api/deki/files/4403/=figure8.3.png"><br>
- <a id="8.3" name="8.3"><small><strong>圖例 8.3:通過簡單的定義創建物件</strong></small></a></p>
+ <a name="8.3"><small><strong>圖例 8.3:通過簡單的定義創建物件</strong></small></a></p>
<h2 id="物件的屬性">物件的屬性</h2>
@@ -292,8 +292,8 @@ mark.projects = ["navigator"];</pre>
<p>到目前為止所展現的建構函數不允許在創建新的實例時指定屬性值。正如 Java 一樣,可以為建構函數提供參數以便初始化實例的屬性值。下圖展現其中一種做法。</p>
-<p><img alt="" class="internal" id="figure8.5" src="/@api/deki/files/4423/=figure8.5.png" style="height: 481px; width: 1012px;"><br>
- <a id="8.5" name="8.5"><small><strong>Figure 8.5: Specifying properties in a constructor, take 1</strong></small></a></p>
+<p><img alt="" class="internal" src="/@api/deki/files/4423/=figure8.5.png" style="height: 481px; width: 1012px;"><br>
+ <a name="8.5"><small><strong>Figure 8.5: Specifying properties in a constructor, take 1</strong></small></a></p>
<p>下面的表格中羅列了這些物件在 Java 和 JavaScript 中的定義。</p>
diff --git a/files/zh-tw/web/javascript/guide/grammar_and_types/index.html b/files/zh-tw/web/javascript/guide/grammar_and_types/index.html
index a8eafbba5f..7299e5d1c6 100644
--- a/files/zh-tw/web/javascript/guide/grammar_and_types/index.html
+++ b/files/zh-tw/web/javascript/guide/grammar_and_types/index.html
@@ -304,7 +304,7 @@ y = 42 + " is the answer" // "42 is the answer"
<p>當代表數字的值以字串形式存在記憶體中,有些方法可用來將這種字串轉換成整數或浮點數。 </p>
<ul>
- <li id="parseInt()_and_parseFloat()">{{jsxref("parseInt", "parseInt()")}}</li>
+ <li>{{jsxref("parseInt", "parseInt()")}}</li>
<li>{{jsxref("parseFloat", "parseFloat()")}}</li>
</ul>
diff --git a/files/zh-tw/web/javascript/guide/working_with_objects/index.html b/files/zh-tw/web/javascript/guide/working_with_objects/index.html
index 823f9c1e4b..44bda4c9b8 100644
--- a/files/zh-tw/web/javascript/guide/working_with_objects/index.html
+++ b/files/zh-tw/web/javascript/guide/working_with_objects/index.html
@@ -124,7 +124,7 @@ myCar.year = 1969</pre>
<p>JavaScript has a number of predefined objects. In addition, you can create your own objects. You can create an object using an <a href="/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer">object initializer</a>. Alternatively, you can first create a constructor function and then instantiate an object invoking that function in conjunction with the <code>new</code> operator.</p>
-<h3 id="Using_object_initializers"><a id="Object_initializers" name="Object_initializers">Using object initializers</a></h3>
+<h3 id="Using_object_initializers"><a name="Object_initializers">Using object initializers</a></h3>
<p>In addition to creating objects using a constructor function, you can create objects using an <a href="/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer">object initializer</a>. Using object initializers is sometimes referred to as creating objects with literal notation. "Object initializer" is consistent with the terminology used by C++.</p>
diff --git a/files/zh-tw/web/javascript/index.html b/files/zh-tw/web/javascript/index.html
index 4eca0ea390..d190bb9a0a 100644
--- a/files/zh-tw/web/javascript/index.html
+++ b/files/zh-tw/web/javascript/index.html
@@ -116,7 +116,7 @@ translation_of: Web/JavaScript
<dd><a href="/zh-TW/docs/Tools/Scratchpad">程式碼速記本 (Scratchpad)</a>、<a href="/zh-TW/docs/Tools/Web_Console">網頁主控台 (Web Console)</a>、<a href="/zh-TW/docs/Tools/Profiler">JavaScript 效能分析器(JavaScript Profiler)</a>、<a href="/zh-TW/docs/Tools/Debugger">除錯器 (Debugger)</a> 等等。</dd>
<dt><a href="/zh-TW/docs/Web/JavaScript/Shells">JavaScript Shell</a></dt>
<dd>JavaScript Shell 讓你更快的測試片段的 JavaScript。</dd>
- <dt><a href="https://togetherjs.com/">TogetherJS</a><a id="cke_60" title="Paste">Paste</a></dt>
+ <dt><a href="https://togetherjs.com/">TogetherJS</a><a title="Paste">Paste</a></dt>
<dd>合作更簡單了。藉著在你的網站增加 TogetherJS,你的用戶們能在網站上互助 in real time!</dd>
<dt><a href="http://stackoverflow.com/questions/tagged/javascript">Stack Overflow</a></dt>
<dd>Stack Overflow 上有關 JavaScript 的問題。</dd>
@@ -127,7 +127,3 @@ translation_of: Web/JavaScript
</dl>
</div>
</div>
-
-<div id="gtx-trans" style="position: absolute; left: 162px; top: 722px;">
-<div class="gtx-trans-icon"></div>
-</div>
diff --git a/files/zh-tw/web/javascript/reference/classes/constructor/index.html b/files/zh-tw/web/javascript/reference/classes/constructor/index.html
index aa0e2bf896..2d349f8b4e 100644
--- a/files/zh-tw/web/javascript/reference/classes/constructor/index.html
+++ b/files/zh-tw/web/javascript/reference/classes/constructor/index.html
@@ -79,7 +79,7 @@ translation_of: Web/JavaScript/Reference/Classes/constructor
<p>{{CompatibilityTable}}</p>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -110,7 +110,7 @@ translation_of: Web/JavaScript/Reference/Classes/constructor
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/classes/index.html b/files/zh-tw/web/javascript/reference/classes/index.html
index e3a62d781b..d81add9317 100644
--- a/files/zh-tw/web/javascript/reference/classes/index.html
+++ b/files/zh-tw/web/javascript/reference/classes/index.html
@@ -298,7 +298,7 @@ l.speak();
<p>{{CompatibilityTable}}</p>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -324,7 +324,7 @@ l.speak();
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/classes/static/index.html b/files/zh-tw/web/javascript/reference/classes/static/index.html
index 49e18b44bb..77faa35833 100644
--- a/files/zh-tw/web/javascript/reference/classes/static/index.html
+++ b/files/zh-tw/web/javascript/reference/classes/static/index.html
@@ -66,7 +66,7 @@ console.log(tp.triple()); // 'tp.triple is not a function'.</pre>
<p>{{CompatibilityTable}}</p>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -89,7 +89,7 @@ console.log(tp.triple()); // 'tp.triple is not a function'.</pre>
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/functions/arguments/callee/index.html b/files/zh-tw/web/javascript/reference/functions/arguments/callee/index.html
index 397eb08d00..fe8b1dcda3 100644
--- a/files/zh-tw/web/javascript/reference/functions/arguments/callee/index.html
+++ b/files/zh-tw/web/javascript/reference/functions/arguments/callee/index.html
@@ -142,7 +142,7 @@ john();</pre>
<p>{{CompatibilityTable}}</p>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -165,7 +165,7 @@ john();</pre>
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/functions/default_parameters/index.html b/files/zh-tw/web/javascript/reference/functions/default_parameters/index.html
index e7a796f4d1..1f37ee85c0 100644
--- a/files/zh-tw/web/javascript/reference/functions/default_parameters/index.html
+++ b/files/zh-tw/web/javascript/reference/functions/default_parameters/index.html
@@ -199,7 +199,7 @@ f(); // 6</pre>
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -238,7 +238,7 @@ f(); // 6</pre>
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/functions/index.html b/files/zh-tw/web/javascript/reference/functions/index.html
index 718cc30c3e..ce6646918f 100644
--- a/files/zh-tw/web/javascript/reference/functions/index.html
+++ b/files/zh-tw/web/javascript/reference/functions/index.html
@@ -515,7 +515,7 @@ result = padZeros(5,4); // returns "0005"
<p>{{CompatibilityTable}}</p>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -554,7 +554,7 @@ result = padZeros(5,4); // returns "0005"
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/arraybuffer/index.html b/files/zh-tw/web/javascript/reference/global_objects/arraybuffer/index.html
index 1fa59e5f0f..6882aaf6ec 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/arraybuffer/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/arraybuffer/index.html
@@ -56,7 +56,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/ArrayBuffer
<dd>Returns <code>true</code> if <code>arg</code> is one of the ArrayBuffer views, such as <a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray">typed array objects</a> or a {{jsxref("DataView")}}. Returns <code>false</code> otherwise.</dd>
<dt>{{jsxref("ArrayBuffer.transfer", "ArrayBuffer.transfer(oldBuffer [, newByteLength])")}} {{experimental_inline}}</dt>
<dd>
- <div class="line" id="file-arraybuffer-transfer-LC6">Returns a new <code>ArrayBuffer</code> whose contents are taken from the <code>oldBuffer</code>'s data and then is either truncated or zero-extended by <code>newByteLength</code>.</div>
+ <div class="line">Returns a new <code>ArrayBuffer</code> whose contents are taken from the <code>oldBuffer</code>'s data and then is either truncated or zero-extended by <code>newByteLength</code>.</div>
</dd>
</dl>
@@ -115,7 +115,7 @@ var view = new Int32Array(buffer);</pre>
<p>{{CompatibilityTable}}</p>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -159,7 +159,7 @@ var view = new Int32Array(buffer);</pre>
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/boolean/index.html b/files/zh-tw/web/javascript/reference/global_objects/boolean/index.html
index 6c8d690b15..0e817070dc 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/boolean/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/boolean/index.html
@@ -138,7 +138,7 @@ var bObjProto = new Boolean({});
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -163,7 +163,7 @@ var bObjProto = new Boolean({});
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/dataview/index.html b/files/zh-tw/web/javascript/reference/global_objects/dataview/index.html
index d7cf6d6ed4..8d4406dd9e 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/dataview/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/dataview/index.html
@@ -109,7 +109,7 @@ dv.getInt16(1); //42
<p>{{CompatibilityTable}}</p>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -132,7 +132,7 @@ dv.getInt16(1); //42
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/date/index.html b/files/zh-tw/web/javascript/reference/global_objects/date/index.html
index 9e5675e682..1b1873dd22 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/date/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/date/index.html
@@ -206,7 +206,7 @@ yourFunctionReturn = printElapsedTime(yourFunction);
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -231,7 +231,7 @@ yourFunctionReturn = printElapsedTime(yourFunction);
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/date/now/index.html b/files/zh-tw/web/javascript/reference/global_objects/date/now/index.html
index 00b4842f0f..ca67a2e534 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/date/now/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/date/now/index.html
@@ -67,7 +67,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/now
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -90,7 +90,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/now
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/date/utc/index.html b/files/zh-tw/web/javascript/reference/global_objects/date/utc/index.html
index 60f1c555f0..50ab7590ea 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/date/utc/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/date/utc/index.html
@@ -102,7 +102,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/UTC
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -125,7 +125,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/UTC
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/error/columnnumber/index.html b/files/zh-tw/web/javascript/reference/global_objects/error/columnnumber/index.html
index 1db87220e8..ca1dc77233 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/error/columnnumber/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/error/columnnumber/index.html
@@ -24,7 +24,7 @@ console.log(e.columnNumber) // 0
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -47,7 +47,7 @@ console.log(e.columnNumber) // 0
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/error/index.html b/files/zh-tw/web/javascript/reference/global_objects/error/index.html
index 623a5dfeac..51e58faf45 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/error/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/error/index.html
@@ -176,7 +176,7 @@ try {
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -199,7 +199,7 @@ try {
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/function/apply/index.html b/files/zh-tw/web/javascript/reference/global_objects/function/apply/index.html
index 698d2f46fc..9d5aba8312 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/function/apply/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/function/apply/index.html
@@ -184,7 +184,7 @@ someobject.foo = function() {
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -215,7 +215,7 @@ someobject.foo = function() {
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/function/bind/index.html b/files/zh-tw/web/javascript/reference/global_objects/function/bind/index.html
index 7092477133..006db2aa4c 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/function/bind/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/function/bind/index.html
@@ -260,7 +260,7 @@ slice(arguments);
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -285,7 +285,7 @@ slice(arguments);
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/function/index.html b/files/zh-tw/web/javascript/reference/global_objects/function/index.html
index aaed1afc5c..c7321e3bd8 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/function/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/function/index.html
@@ -130,7 +130,7 @@ console.log(f2()); // 20
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -153,7 +153,7 @@ console.log(f2()); // 20
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/function/length/index.html b/files/zh-tw/web/javascript/reference/global_objects/function/length/index.html
index 699e1ff178..f1498d4e5d 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/function/length/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/function/length/index.html
@@ -72,7 +72,7 @@ console.log((function(a, b = 1, c) {}).length); /* 1 */
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -103,7 +103,7 @@ console.log((function(a, b = 1, c) {}).length); /* 1 */
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/json/parse/index.html b/files/zh-tw/web/javascript/reference/global_objects/json/parse/index.html
index a33e2310c3..663d5fb6ce 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/json/parse/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/json/parse/index.html
@@ -106,7 +106,7 @@ JSON.parse('{"foo" : 1, }');
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -129,7 +129,7 @@ JSON.parse('{"foo" : 1, }');
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/json/stringify/index.html b/files/zh-tw/web/javascript/reference/global_objects/json/stringify/index.html
index 5169d7d748..fdc8f8d1d0 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/json/stringify/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/json/stringify/index.html
@@ -76,7 +76,7 @@ JSON.stringify( Object.create(null, { x: { value: 'x', enumerable: false }, y: {
</pre>
-<h3 id="The_replacer_parameter"><a id="The replacer parameter" name="The replacer parameter"></a>The <code>replacer</code> parameter</h3>
+<h3 id="The_replacer_parameter"><a name="The replacer parameter"></a>The <code>replacer</code> parameter</h3>
<p>The <code>replacer</code> parameter can be either a function or an array. As a function, it takes two parameters, the key and the value being stringified. The object in which the key was found is provided as the replacer's <code>this</code> parameter. Initially it gets called with an empty key representing the object being stringified, and it then gets called for each property on the object or array being stringified. It should return the value that should be added to the JSON string, as follows:</p>
@@ -113,7 +113,7 @@ JSON.stringify(foo, replacer);
// '{"week":45,"month":7}', only keep "week" and "month" properties
</pre>
-<h3 id="The_space_argument"><a id="The space argument" name="The space argument"></a>The <code>space</code> argument</h3>
+<h3 id="The_space_argument"><a name="The space argument"></a>The <code>space</code> argument</h3>
<p>The <code>space</code> argument may be used to control spacing in the final string. If it is a number, successive levels in the stringification will each be indented by this many space characters (up to 10). If it is a string, successive levels will be indented by this string (or the first ten characters of it).</p>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/math/round/index.html b/files/zh-tw/web/javascript/reference/global_objects/math/round/index.html
index 5e6a0ea694..efde660a66 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/math/round/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/math/round/index.html
@@ -155,7 +155,7 @@ Math.ceil10(-59, 1); // -50
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -178,7 +178,7 @@ Math.ceil10(-59, 1); // -50
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/null/index.html b/files/zh-tw/web/javascript/reference/global_objects/null/index.html
index 2cee8a369e..a32debbd16 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/null/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/null/index.html
@@ -68,7 +68,7 @@ null == undefined // true
<p>{{CompatibilityTable}}</p>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -91,7 +91,7 @@ null == undefined // true
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/number/index.html b/files/zh-tw/web/javascript/reference/global_objects/number/index.html
index 8a023d1603..6aad23d489 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/number/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/number/index.html
@@ -163,7 +163,7 @@ Number("100a") // NaN
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -186,7 +186,7 @@ Number("100a") // NaN
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/number/toexponential/index.html b/files/zh-tw/web/javascript/reference/global_objects/number/toexponential/index.html
index 34ae1e4139..9c40c2fe5b 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/number/toexponential/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/number/toexponential/index.html
@@ -107,7 +107,7 @@ console.log(77 .toExponential()); // logs 7.7e+1
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -130,7 +130,7 @@ console.log(77 .toExponential()); // logs 7.7e+1
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/object/assign/index.html b/files/zh-tw/web/javascript/reference/global_objects/object/assign/index.html
index 65330a6196..a95240343f 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/object/assign/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/object/assign/index.html
@@ -239,7 +239,7 @@ console.log(copy);
<div>{{Compat("javascript.builtins.Object.assign")}}</div>
-<div id="compat-desktop"></div>
+<div></div>
<h2 id="參閱">參閱</h2>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/object/create/index.html b/files/zh-tw/web/javascript/reference/global_objects/object/create/index.html
index f158d36977..f8e71aeae1 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/object/create/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/object/create/index.html
@@ -200,7 +200,7 @@ o2 = Object.create({}, {
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -223,7 +223,7 @@ o2 = Object.create({}, {
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/object/defineproperties/index.html b/files/zh-tw/web/javascript/reference/global_objects/object/defineproperties/index.html
index fc87ca0317..23eb95a642 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/object/defineproperties/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/object/defineproperties/index.html
@@ -169,7 +169,7 @@ Object.defineProperties(obj, {
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -192,7 +192,7 @@ Object.defineProperties(obj, {
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/object/getprototypeof/index.html b/files/zh-tw/web/javascript/reference/global_objects/object/getprototypeof/index.html
index ff4e4d480f..b063094f52 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/object/getprototypeof/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/object/getprototypeof/index.html
@@ -65,7 +65,7 @@ Object.getPrototypeOf("foo");
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -88,7 +88,7 @@ Object.getPrototypeOf("foo");
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/object/hasownproperty/index.html b/files/zh-tw/web/javascript/reference/global_objects/object/hasownproperty/index.html
index 1786387141..58fe485c22 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/object/hasownproperty/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/object/hasownproperty/index.html
@@ -125,7 +125,7 @@ Object.prototype.hasOwnProperty.call(foo, 'bar'); // true
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -148,7 +148,7 @@ Object.prototype.hasOwnProperty.call(foo, 'bar'); // true
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/object/index.html b/files/zh-tw/web/javascript/reference/global_objects/object/index.html
index cf55c9b004..40468bd608 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/object/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/object/index.html
@@ -167,7 +167,7 @@ var o = new Object(Boolean());
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -190,7 +190,7 @@ var o = new Object(Boolean());
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/object/keys/index.html b/files/zh-tw/web/javascript/reference/global_objects/object/keys/index.html
index 958b9a3a47..5bf8e8a559 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/object/keys/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/object/keys/index.html
@@ -148,7 +148,7 @@ if (!Object.keys) {
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -171,7 +171,7 @@ if (!Object.keys) {
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/object/preventextensions/index.html b/files/zh-tw/web/javascript/reference/global_objects/object/preventextensions/index.html
index bc046cf87b..da1dc83526 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/object/preventextensions/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/object/preventextensions/index.html
@@ -102,7 +102,7 @@ Object.preventExtensions(1);
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -133,7 +133,7 @@ Object.preventExtensions(1);
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/reflect/index.html b/files/zh-tw/web/javascript/reference/global_objects/reflect/index.html
index 4f1d980a0d..03cd63effc 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/reflect/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/reflect/index.html
@@ -70,7 +70,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Reflect
<p>{{CompatibilityTable}}</p>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -95,7 +95,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Reflect
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/string/padstart/index.html b/files/zh-tw/web/javascript/reference/global_objects/string/padstart/index.html
index 8a08d5924f..bb053cd10a 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/string/padstart/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/string/padstart/index.html
@@ -39,7 +39,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/padStart
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -64,7 +64,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/padStart
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/operators/await/index.html b/files/zh-tw/web/javascript/reference/operators/await/index.html
index 2b79ef4f9f..dd1121503f 100644
--- a/files/zh-tw/web/javascript/reference/operators/await/index.html
+++ b/files/zh-tw/web/javascript/reference/operators/await/index.html
@@ -91,7 +91,7 @@ f3();</pre>
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -116,7 +116,7 @@ f3();</pre>
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/operators/comma_operator/index.html b/files/zh-tw/web/javascript/reference/operators/comma_operator/index.html
index 3324cb156b..e1c45ea5b0 100644
--- a/files/zh-tw/web/javascript/reference/operators/comma_operator/index.html
+++ b/files/zh-tw/web/javascript/reference/operators/comma_operator/index.html
@@ -90,7 +90,7 @@ console.log(x); // 6 (right-most)
<p>{{CompatibilityTable}}</p>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -113,7 +113,7 @@ console.log(x); // 6 (right-most)
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/operators/object_initializer/index.html b/files/zh-tw/web/javascript/reference/operators/object_initializer/index.html
index c8e4308f32..5ce80cd8e8 100644
--- a/files/zh-tw/web/javascript/reference/operators/object_initializer/index.html
+++ b/files/zh-tw/web/javascript/reference/operators/object_initializer/index.html
@@ -287,7 +287,7 @@ assert(obj3.__proto__ === 17);
<div>{{CompatibilityTable}}</div>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -348,7 +348,7 @@ assert(obj3.__proto__ === 17);
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/statements/for...in/index.html b/files/zh-tw/web/javascript/reference/statements/for...in/index.html
index 8877c28d79..2c903faf2e 100644
--- a/files/zh-tw/web/javascript/reference/statements/for...in/index.html
+++ b/files/zh-tw/web/javascript/reference/statements/for...in/index.html
@@ -47,11 +47,11 @@ translation_of: Web/JavaScript/Reference/Statements/for...in
<p>A <code>for...in</code> loop iterates over the properties of an object in an arbitrary order (see the <a href="/en-US/docs/JavaScript/Reference/Operators/delete#Cross-browser_issues">delete operator</a> for more on why one cannot depend on the seeming orderliness of iteration, at least in a cross-browser setting). If a property is modified in one iteration and then visited at a later time, its value in the loop is its value at that later time. A property that is deleted before it has been visited will not be visited later. Properties added to the object over which iteration is occurring may either be visited or omitted from iteration. In general it is best not to add, modify or remove properties from the object during iteration, other than the property currently being visited. There is no guarantee whether or not an added property will be visited, whether a modified property (other than the current one) will be visited before or after it is modified, or whether a deleted property will be visited before it is deleted.</p>
-<div class="note" id="hasOwnPropertyNote">
+<div class="note">
<p>If you only want to consider properties attached to the object itself, and not its prototypes, use <a href="/en-US/docs/JavaScript/Reference/Global_Objects/Object/getOwnPropertyNames">getOwnPropertyNames</a> or perform a <a href="/en-US/docs/JavaScript/Reference/Global_Objects/Object/hasOwnProperty">hasOwnProperty</a> check (<a href="/en-US/docs/JavaScript/Reference/Global_Objects/Object/propertyIsEnumerable">propertyIsEnumerable</a> can also be used). Alternatively, if you know there won't be any outside code interference, you can extend built-in prototypes with a check method.</p>
</div>
-<div class="note" id="arrayNote">
+<div class="note">
<p><strong><code>for..in</code> 不應該用來迭代一個索引順序很重要的<a href="/en-US/docs/JavaScript/Reference/Global_Objects/Array">陣列</a>。</strong> 陣列索引只是以整數命名的可列舉屬性,其他方面等同於一般物件屬性。 無法擔保 <code>for...in</code> 以特定順序傳回索引,並且它將傳回全部可列舉屬性,包括非整數名的,以及繼承而來的可列舉屬性。</p>
<p>因為迭代的順序依賴於 JavaScript 引擎的實作,在不同引擎下,迭代一個陣列可能不是以一個一致的順序存取陣列元素。因此,當你迭代陣列,且該陣列的存取順序很重要時,最好是使用以數值索引的 <a href="/en-US/docs/JavaScript/Reference/Statements/for">for</a> 迴圈 (或 <a href="/en-US/docs/JavaScript/Reference/Global_Objects/Array/forEach">Array.forEach</a> 或非標準 <code><a href="/en-US/docs/JavaScript/Reference/Statements/for...of">for...of</a></code> 迴圈)。</p>
diff --git a/files/zh-tw/web/javascript/reference/statements/throw/index.html b/files/zh-tw/web/javascript/reference/statements/throw/index.html
index dbfe664ef5..9994f8c58c 100644
--- a/files/zh-tw/web/javascript/reference/statements/throw/index.html
+++ b/files/zh-tw/web/javascript/reference/statements/throw/index.html
@@ -179,7 +179,7 @@ e = verifyZipCode('95060 1234'); // returns 95060 1234
<p>{{CompatibilityTable}}</p>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -202,7 +202,7 @@ e = verifyZipCode('95060 1234'); // returns 95060 1234
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/reference/statements/var/index.html b/files/zh-tw/web/javascript/reference/statements/var/index.html
index 705a27a333..1a085c5bd9 100644
--- a/files/zh-tw/web/javascript/reference/statements/var/index.html
+++ b/files/zh-tw/web/javascript/reference/statements/var/index.html
@@ -192,7 +192,7 @@ console.log(typeof y); // undefined as y is local to function a</pre>
<p>{{CompatibilityTable}}</p>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -215,7 +215,7 @@ console.log(typeof y); // undefined as y is local to function a</pre>
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>
diff --git a/files/zh-tw/web/javascript/typed_arrays/index.html b/files/zh-tw/web/javascript/typed_arrays/index.html
index c0db745221..688dab7188 100644
--- a/files/zh-tw/web/javascript/typed_arrays/index.html
+++ b/files/zh-tw/web/javascript/typed_arrays/index.html
@@ -168,7 +168,7 @@ normalArray.constructor === Array;
<p>{{CompatibilityTable}}</p>
-<div id="compat-desktop">
+<div>
<table class="compat-table">
<tbody>
<tr>
@@ -191,7 +191,7 @@ normalArray.constructor === Array;
</table>
</div>
-<div id="compat-mobile">
+<div>
<table class="compat-table">
<tbody>
<tr>