From f7b137a3dff09fb8f976140d16029ad6ec5cf2b5 Mon Sep 17 00:00:00 2001 From: t7yang Date: Mon, 10 Jan 2022 08:38:06 +0800 Subject: remove id attribute not in heading for zh-TW --- .../web/javascript/reference/global_objects/arraybuffer/index.html | 6 +++--- .../web/javascript/reference/global_objects/boolean/index.html | 4 ++-- .../web/javascript/reference/global_objects/dataview/index.html | 4 ++-- files/zh-tw/web/javascript/reference/global_objects/date/index.html | 4 ++-- .../web/javascript/reference/global_objects/date/now/index.html | 4 ++-- .../web/javascript/reference/global_objects/date/utc/index.html | 4 ++-- .../reference/global_objects/error/columnnumber/index.html | 4 ++-- .../zh-tw/web/javascript/reference/global_objects/error/index.html | 4 ++-- .../javascript/reference/global_objects/function/apply/index.html | 4 ++-- .../javascript/reference/global_objects/function/bind/index.html | 4 ++-- .../web/javascript/reference/global_objects/function/index.html | 4 ++-- .../javascript/reference/global_objects/function/length/index.html | 4 ++-- .../web/javascript/reference/global_objects/json/parse/index.html | 4 ++-- .../javascript/reference/global_objects/json/stringify/index.html | 4 ++-- .../web/javascript/reference/global_objects/math/round/index.html | 4 ++-- files/zh-tw/web/javascript/reference/global_objects/null/index.html | 4 ++-- .../zh-tw/web/javascript/reference/global_objects/number/index.html | 4 ++-- .../reference/global_objects/number/toexponential/index.html | 4 ++-- .../javascript/reference/global_objects/object/assign/index.html | 2 +- .../javascript/reference/global_objects/object/create/index.html | 4 ++-- .../reference/global_objects/object/defineproperties/index.html | 4 ++-- .../reference/global_objects/object/getprototypeof/index.html | 4 ++-- .../reference/global_objects/object/hasownproperty/index.html | 4 ++-- .../zh-tw/web/javascript/reference/global_objects/object/index.html | 4 ++-- .../web/javascript/reference/global_objects/object/keys/index.html | 4 ++-- .../reference/global_objects/object/preventextensions/index.html | 4 ++-- .../web/javascript/reference/global_objects/reflect/index.html | 4 ++-- .../javascript/reference/global_objects/string/padstart/index.html | 4 ++-- 28 files changed, 56 insertions(+), 56 deletions(-) (limited to 'files/zh-tw/web/javascript/reference/global_objects') 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
Returns true if arg is one of the ArrayBuffer views, such as typed array objects or a {{jsxref("DataView")}}. Returns false otherwise.
{{jsxref("ArrayBuffer.transfer", "ArrayBuffer.transfer(oldBuffer [, newByteLength])")}} {{experimental_inline}}
-
Returns a new ArrayBuffer whose contents are taken from the oldBuffer's data and then is either truncated or zero-extended by newByteLength.
+
Returns a new ArrayBuffer whose contents are taken from the oldBuffer's data and then is either truncated or zero-extended by newByteLength.
@@ -115,7 +115,7 @@ var view = new Int32Array(buffer);

{{CompatibilityTable}}

-
+
@@ -159,7 +159,7 @@ var view = new Int32Array(buffer);
-
+
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({});
{{CompatibilityTable}}
-
+
@@ -163,7 +163,7 @@ var bObjProto = new Boolean({});
-
+
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

{{CompatibilityTable}}

-
+
@@ -132,7 +132,7 @@ dv.getInt16(1); //42
-
+
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);
{{CompatibilityTable}}
-
+
@@ -231,7 +231,7 @@ yourFunctionReturn = printElapsedTime(yourFunction);
-
+
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
{{CompatibilityTable}}
-
+
@@ -90,7 +90,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/now
-
+
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
{{CompatibilityTable}}
-
+
@@ -125,7 +125,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/UTC
-
+
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
{{CompatibilityTable}}
-
+
@@ -47,7 +47,7 @@ console.log(e.columnNumber) // 0
-
+
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 {
{{CompatibilityTable}}
-
+
@@ -199,7 +199,7 @@ try {
-
+
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() {
{{CompatibilityTable}}
-
+
@@ -215,7 +215,7 @@ someobject.foo = function() {
-
+
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);
{{CompatibilityTable}}
-
+
@@ -285,7 +285,7 @@ slice(arguments);
-
+
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
{{CompatibilityTable}}
-
+
@@ -153,7 +153,7 @@ console.log(f2()); // 20
-
+
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 */
{{CompatibilityTable}}
-
+
@@ -103,7 +103,7 @@ console.log((function(a, b = 1, c) {}).length); /* 1 */
-
+
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, }');
{{CompatibilityTable}}
-
+
@@ -129,7 +129,7 @@ JSON.parse('{"foo" : 1, }');
-
+
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: { -

The replacer parameter

+

The replacer parameter

The replacer 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 this 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:

@@ -113,7 +113,7 @@ JSON.stringify(foo, replacer); // '{"week":45,"month":7}', only keep "week" and "month" properties -

The space argument

+

The space argument

The space 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).

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
{{CompatibilityTable}}
-
+
@@ -178,7 +178,7 @@ Math.ceil10(-59, 1); // -50
-
+
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

{{CompatibilityTable}}

-
+
@@ -91,7 +91,7 @@ null == undefined // true
-
+
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
{{CompatibilityTable}}
-
+
@@ -186,7 +186,7 @@ Number("100a") // NaN
-
+
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
{{CompatibilityTable}}
-
+
@@ -130,7 +130,7 @@ console.log(77 .toExponential()); // logs 7.7e+1
-
+
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);
{{Compat("javascript.builtins.Object.assign")}}
-
+

參閱

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({}, {
{{CompatibilityTable}}
-
+
@@ -223,7 +223,7 @@ o2 = Object.create({}, {
-
+
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, {
{{CompatibilityTable}}
-
+
@@ -192,7 +192,7 @@ Object.defineProperties(obj, {
-
+
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");
{{CompatibilityTable}}
-
+
@@ -88,7 +88,7 @@ Object.getPrototypeOf("foo");
-
+
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
{{CompatibilityTable}}
-
+
@@ -148,7 +148,7 @@ Object.prototype.hasOwnProperty.call(foo, 'bar'); // true
-
+
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());
{{CompatibilityTable}}
-
+
@@ -190,7 +190,7 @@ var o = new Object(Boolean());
-
+
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) {
{{CompatibilityTable}}
-
+
@@ -171,7 +171,7 @@ if (!Object.keys) {
-
+
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);
{{CompatibilityTable}}
-
+
@@ -133,7 +133,7 @@ Object.preventExtensions(1);
-
+
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

{{CompatibilityTable}}

-
+
@@ -95,7 +95,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Reflect
-
+
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
{{CompatibilityTable}}
-
+
@@ -64,7 +64,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/padStart
-
+
-- cgit v1.2.3-54-g00ecf