diff options
author | t7yang <t7yang@gmail.com> | 2022-01-10 08:38:06 +0800 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-02-16 02:35:54 +0800 |
commit | f7b137a3dff09fb8f976140d16029ad6ec5cf2b5 (patch) | |
tree | ae0836eb0104a5870f1a87f1f3320a3d506c9e17 /files/zh-tw/web/javascript/reference/global_objects | |
parent | 01b0e12ba27b5069248fd09235e9a7143915ee30 (diff) | |
download | translated-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/reference/global_objects')
28 files changed, 56 insertions, 56 deletions
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> |