From c4576ded828eb9a5ef5f032c8f9409a7116f80a1 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-CN
---
.../web/javascript/guide/details_of_the_object_model/index.html | 2 +-
files/zh-cn/web/javascript/guide/regular_expressions/index.html | 4 ++--
files/zh-cn/web/javascript/guide/working_with_objects/index.html | 2 +-
files/zh-cn/web/javascript/reference/classes/index.html | 4 ----
.../reference/errors/deprecated_source_map_pragma/index.html | 4 ++--
.../web/javascript/reference/global_objects/array/fill/index.html | 2 +-
.../javascript/reference/global_objects/bigint64array/index.html | 4 ++--
.../reference/global_objects/date/getmilliseconds/index.html | 2 --
.../web/javascript/reference/global_objects/decodeuri/index.html | 2 +-
.../reference/global_objects/decodeuricomponent/index.html | 4 ++--
.../web/javascript/reference/global_objects/encodeuri/index.html | 4 ++--
.../reference/global_objects/error/columnnumber/index.html | 4 ++--
.../javascript/reference/global_objects/error/filename/index.html | 4 ++--
.../javascript/reference/global_objects/error/message/index.html | 4 ++--
.../web/javascript/reference/global_objects/error/name/index.html | 4 ++--
.../javascript/reference/global_objects/error/tostring/index.html | 4 ++--
.../web/javascript/reference/global_objects/escape/index.html | 4 ++--
.../reference/global_objects/finalizationregistry/index.html | 4 ----
.../javascript/reference/global_objects/float32array/index.html | 4 ++--
.../javascript/reference/global_objects/float64array/index.html | 4 ++--
.../reference/global_objects/function/arguments/index.html | 4 ++--
.../reference/global_objects/function/displayname/index.html | 4 ++--
.../javascript/reference/global_objects/generator/next/index.html | 4 ++--
.../reference/global_objects/generator/throw/index.html | 4 ++--
.../web/javascript/reference/global_objects/int16array/index.html | 4 ++--
.../web/javascript/reference/global_objects/int32array/index.html | 4 ++--
.../web/javascript/reference/global_objects/int8array/index.html | 4 ++--
.../javascript/reference/global_objects/internalerror/index.html | 4 ++--
.../reference/global_objects/intl/datetimeformat/index.html | 4 ++--
.../reference/global_objects/intl/numberformat/index.html | 2 +-
.../reference/global_objects/map/@@tostringtag/index.html | 4 ++--
.../web/javascript/reference/global_objects/map/has/index.html | 4 ++--
.../web/javascript/reference/global_objects/map/set/index.html | 2 +-
.../web/javascript/reference/global_objects/map/values/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/abs/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/acos/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/asin/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/atan/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/atan2/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/atanh/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/cbrt/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/cos/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/cosh/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/e/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/exp/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/expm1/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/floor/index.html | 4 ++--
.../javascript/reference/global_objects/math/fround/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/imul/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/ln10/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/ln2/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/log/index.html | 8 ++++----
.../web/javascript/reference/global_objects/math/log10/index.html | 4 ++--
.../javascript/reference/global_objects/math/log10e/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/log1p/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/log2/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/log2e/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/min/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/pi/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/round/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/sign/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/sin/index.html | 2 +-
.../web/javascript/reference/global_objects/math/sinh/index.html | 4 ++--
.../javascript/reference/global_objects/math/sqrt1_2/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/sqrt2/index.html | 4 ++--
.../web/javascript/reference/global_objects/math/tan/index.html | 4 ++--
.../javascript/reference/global_objects/number/epsilon/index.html | 4 ++--
.../web/javascript/reference/global_objects/number/index.html | 2 +-
.../reference/global_objects/number/max_safe_integer/index.html | 4 ++--
.../reference/global_objects/number/max_value/index.html | 4 ++--
.../reference/global_objects/number/min_value/index.html | 4 ++--
.../web/javascript/reference/global_objects/number/nan/index.html | 4 ++--
.../reference/global_objects/number/negative_infinity/index.html | 4 ++--
.../reference/global_objects/number/parsefloat/index.html | 4 ++--
.../reference/global_objects/number/positive_infinity/index.html | 4 ++--
.../reference/global_objects/number/toexponential/index.html | 4 ++--
.../javascript/reference/global_objects/number/tofixed/index.html | 4 ----
.../reference/global_objects/number/tolocalestring/index.html | 2 +-
.../reference/global_objects/number/toprecision/index.html | 4 ++--
.../reference/global_objects/number/tosource/index.html | 4 ++--
.../reference/global_objects/number/tostring/index.html | 4 ++--
.../javascript/reference/global_objects/number/valueof/index.html | 4 ++--
.../reference/global_objects/object/__definegetter__/index.html | 4 ++--
.../reference/global_objects/object/__definesetter__/index.html | 4 ++--
.../reference/global_objects/object/__lookupgetter__/index.html | 4 ++--
.../reference/global_objects/object/__lookupsetter__/index.html | 4 ++--
.../global_objects/object/getownpropertydescriptor/index.html | 4 ++--
.../global_objects/object/getownpropertydescriptors/index.html | 2 +-
.../reference/global_objects/object/isextensible/index.html | 4 ++--
.../reference/global_objects/object/isprototypeof/index.html | 4 ++--
.../reference/global_objects/object/setprototypeof/index.html | 2 +-
.../web/javascript/reference/global_objects/parseint/index.html | 4 ++--
.../web/javascript/reference/global_objects/promise/index.html | 2 +-
.../reference/global_objects/proxy/proxy/construct/index.html | 2 +-
.../global_objects/proxy/proxy/defineproperty/index.html | 4 ++--
.../global_objects/proxy/proxy/deleteproperty/index.html | 4 ++--
.../reference/global_objects/proxy/proxy/get/index.html | 4 ++--
.../proxy/proxy/getownpropertydescriptor/index.html | 4 ++--
.../reference/global_objects/proxy/proxy/has/index.html | 4 ++--
.../reference/global_objects/proxy/proxy/ownkeys/index.html | 4 ++--
.../web/javascript/reference/global_objects/rangeerror/index.html | 4 ++--
.../javascript/reference/global_objects/referenceerror/index.html | 4 ++--
.../reference/global_objects/reflect/construct/index.html | 4 ++--
.../reference/global_objects/reflect/deleteproperty/index.html | 4 ++--
.../javascript/reference/global_objects/reflect/get/index.html | 2 +-
.../global_objects/reflect/getownpropertydescriptor/index.html | 4 ++--
.../javascript/reference/global_objects/reflect/has/index.html | 4 ++--
.../reference/global_objects/reflect/isextensible/index.html | 4 ++--
.../reference/global_objects/regexp/@@search/index.html | 4 ++--
.../reference/global_objects/regexp/@@species/index.html | 4 ++--
.../javascript/reference/global_objects/regexp/@@split/index.html | 4 ++--
.../javascript/reference/global_objects/regexp/compile/index.html | 4 ++--
.../javascript/reference/global_objects/regexp/flags/index.html | 4 ++--
.../javascript/reference/global_objects/regexp/global/index.html | 4 ++--
.../reference/global_objects/regexp/ignorecase/index.html | 4 ++--
.../javascript/reference/global_objects/regexp/input/index.html | 4 ++--
.../reference/global_objects/regexp/lastindex/index.html | 4 ++--
.../reference/global_objects/regexp/lastmatch/index.html | 4 ++--
.../reference/global_objects/regexp/lastparen/index.html | 4 ++--
.../reference/global_objects/regexp/leftcontext/index.html | 4 ++--
.../reference/global_objects/regexp/multiline/index.html | 4 ++--
.../web/javascript/reference/global_objects/regexp/n/index.html | 4 ++--
.../reference/global_objects/regexp/rightcontext/index.html | 4 ++--
.../javascript/reference/global_objects/regexp/source/index.html | 4 ++--
.../reference/global_objects/regexp/tostring/index.html | 4 ++--
.../javascript/reference/global_objects/regexp/unicode/index.html | 4 ++--
.../web/javascript/reference/global_objects/set/clear/index.html | 4 ++--
.../web/javascript/reference/global_objects/set/delete/index.html | 4 ++--
.../javascript/reference/global_objects/set/entries/index.html | 4 ++--
.../javascript/reference/global_objects/set/foreach/index.html | 4 ++--
.../web/javascript/reference/global_objects/set/has/index.html | 4 ++--
.../reference/global_objects/string/@@iterator/index.html | 4 ++--
.../javascript/reference/global_objects/string/anchor/index.html | 6 +++---
.../web/javascript/reference/global_objects/string/big/index.html | 4 ++--
.../javascript/reference/global_objects/string/blink/index.html | 4 ++--
.../javascript/reference/global_objects/string/bold/index.html | 6 +++---
.../javascript/reference/global_objects/string/charat/index.html | 4 ++--
.../reference/global_objects/string/codepointat/index.html | 4 ++--
.../javascript/reference/global_objects/string/fixed/index.html | 6 +++---
.../reference/global_objects/string/fontcolor/index.html | 4 ++--
.../reference/global_objects/string/fontsize/index.html | 4 ++--
.../web/javascript/reference/global_objects/string/index.html | 4 ++--
.../javascript/reference/global_objects/string/indexof/index.html | 2 +-
.../javascript/reference/global_objects/string/italics/index.html | 4 ++--
.../reference/global_objects/string/lastindexof/index.html | 4 ++--
.../javascript/reference/global_objects/string/length/index.html | 4 ++--
.../javascript/reference/global_objects/string/match/index.html | 4 ++--
.../javascript/reference/global_objects/string/small/index.html | 4 ++--
.../javascript/reference/global_objects/string/strike/index.html | 4 ++--
.../web/javascript/reference/global_objects/string/sub/index.html | 4 ++--
.../javascript/reference/global_objects/string/substr/index.html | 4 ++--
.../reference/global_objects/string/substring/index.html | 4 ++--
.../web/javascript/reference/global_objects/string/sup/index.html | 4 ++--
.../reference/global_objects/string/tolocalelowercase/index.html | 4 ++--
.../reference/global_objects/string/tolocaleuppercase/index.html | 4 ----
.../reference/global_objects/string/tolowercase/index.html | 6 ++----
.../reference/global_objects/string/tosource/index.html | 4 ++--
.../reference/global_objects/string/tostring/index.html | 4 ++--
.../web/javascript/reference/global_objects/symbol/for/index.html | 4 ++--
.../javascript/reference/global_objects/symbol/keyfor/index.html | 4 ++--
.../javascript/reference/global_objects/symbol/search/index.html | 4 ++--
.../javascript/reference/global_objects/symbol/split/index.html | 4 ++--
.../reference/global_objects/symbol/toprimitive/index.html | 2 +-
.../reference/global_objects/symbol/tosource/index.html | 4 ++--
.../reference/global_objects/symbol/tostring/index.html | 4 ++--
.../reference/global_objects/symbol/tostringtag/index.html | 4 ++--
.../javascript/reference/global_objects/symbol/valueof/index.html | 4 ++--
.../javascript/reference/global_objects/syntaxerror/index.html | 4 ++--
.../reference/global_objects/typedarray/@@iterator/index.html | 4 ++--
.../reference/global_objects/typedarray/@@species/index.html | 4 ++--
.../reference/global_objects/typedarray/buffer/index.html | 4 ++--
.../reference/global_objects/typedarray/bytelength/index.html | 4 ++--
.../reference/global_objects/typedarray/byteoffset/index.html | 4 ++--
.../global_objects/typedarray/bytes_per_element/index.html | 4 ++--
.../reference/global_objects/typedarray/copywithin/index.html | 4 ++--
.../reference/global_objects/typedarray/entries/index.html | 4 ++--
.../reference/global_objects/typedarray/every/index.html | 4 ++--
.../reference/global_objects/typedarray/fill/index.html | 4 ++--
.../reference/global_objects/typedarray/filter/index.html | 4 ++--
.../reference/global_objects/typedarray/find/index.html | 4 ++--
.../reference/global_objects/typedarray/findindex/index.html | 4 ++--
.../reference/global_objects/typedarray/includes/index.html | 4 ++--
.../reference/global_objects/typedarray/indexof/index.html | 4 ++--
.../reference/global_objects/typedarray/join/index.html | 4 ++--
.../reference/global_objects/typedarray/keys/index.html | 4 ++--
.../reference/global_objects/typedarray/lastindexof/index.html | 4 ++--
.../reference/global_objects/typedarray/length/index.html | 4 ++--
.../javascript/reference/global_objects/typedarray/map/index.html | 4 ++--
.../reference/global_objects/typedarray/name/index.html | 4 ++--
.../javascript/reference/global_objects/typedarray/of/index.html | 4 ++--
.../reference/global_objects/typedarray/reduce/index.html | 4 ++--
.../reference/global_objects/typedarray/reduceright/index.html | 4 ++--
.../reference/global_objects/typedarray/reverse/index.html | 4 ++--
.../javascript/reference/global_objects/typedarray/set/index.html | 4 ++--
.../reference/global_objects/typedarray/sort/index.html | 4 ++--
.../reference/global_objects/typedarray/tostring/index.html | 4 ++--
.../reference/global_objects/typedarray/values/index.html | 4 ++--
.../reference/global_objects/uint8clampedarray/index.html | 4 ++--
.../javascript/reference/global_objects/weakmap/clear/index.html | 4 ++--
.../javascript/reference/global_objects/weakmap/delete/index.html | 4 ++--
.../javascript/reference/global_objects/weakmap/get/index.html | 4 ++--
.../javascript/reference/global_objects/weakmap/has/index.html | 4 ++--
.../javascript/reference/global_objects/weakset/add/index.html | 4 ++--
.../javascript/reference/global_objects/weakset/delete/index.html | 4 ++--
.../javascript/reference/global_objects/weakset/has/index.html | 4 ++--
files/zh-cn/web/javascript/reference/operators/await/index.html | 4 ++--
.../zh-cn/web/javascript/reference/operators/function/index.html | 4 ++--
.../zh-cn/web/javascript/reference/operators/increment/index.html | 4 ----
.../web/javascript/reference/operators/inequality/index.html | 4 ----
.../reference/operators/nullish_coalescing_operator/index.html | 4 ----
files/zh-cn/web/javascript/reference/operators/typeof/index.html | 6 +-----
files/zh-cn/web/javascript/reference/statements/export/index.html | 2 +-
.../zh-cn/web/javascript/reference/statements/for...in/index.html | 4 ----
files/zh-cn/web/javascript/reference/statements/let/index.html | 2 +-
214 files changed, 396 insertions(+), 436 deletions(-)
(limited to 'files/zh-cn/web')
diff --git a/files/zh-cn/web/javascript/guide/details_of_the_object_model/index.html b/files/zh-cn/web/javascript/guide/details_of_the_object_model/index.html
index 36f626ed0e..6a8e44753d 100644
--- a/files/zh-cn/web/javascript/guide/details_of_the_object_model/index.html
+++ b/files/zh-cn/web/javascript/guide/details_of_the_object_model/index.html
@@ -317,7 +317,7 @@ mark.projects = ["navigator"];
到目前为止,本文所展示的构造函数都不能让你在创建新实例时为其制定属性值。其实我们也可以像 Java 一样,为构造器提供参数以初始化实例的属性值。下图展示了一种实现方式。
-
+
Specifying properties in a constructor, take 1
下面的表格中罗列了这些对象在 Java 和 JavaScript 中的定义。
diff --git a/files/zh-cn/web/javascript/guide/regular_expressions/index.html b/files/zh-cn/web/javascript/guide/regular_expressions/index.html
index b38f643ced..d4b03b82de 100644
--- a/files/zh-cn/web/javascript/guide/regular_expressions/index.html
+++ b/files/zh-cn/web/javascript/guide/regular_expressions/index.html
@@ -245,7 +245,7 @@ translation_of: Web/JavaScript/Guide/Regular_Expressions
/\w\b\w/将不能匹配任何字符串,因为在一个单词中间的字符永远也不可能同时满足没有“字”字符跟随和有“字”字符跟随两种情况。
-
注意: JavaScript的正则表达式引擎将特定的字符集定义为“字”字符。不在该集合中的任何字符都被认为是一个断词。这组字符相当有限:它只包括大写和小写的罗马字母,十进制数字和下划线字符。不幸的是,重要的字符,例如“é”或“ü”,被视为断词。
+
注意: JavaScript的正则表达式引擎将特定的字符集定义为“字”字符。不在该集合中的任何字符都被认为是一个断词。这组字符相当有限:它只包括大写和小写的罗马字母,十进制数字和下划线字符。不幸的是,重要的字符,例如“é”或“ü”,被视为断词。
@@ -543,7 +543,7 @@ console.log("The value of lastIndex is " + /d(b+)d/g.lastIndex);
当发生/d(b+)d/g使用两个不同状态的正则表达式对象,lastIndex属性会得到不同的值。如果你需要访问一个正则表达式的属性,则需要创建一个对象初始化生成器,你应该首先把它赋值给一个变量。
-
+
一个正则表达式模式使用括号,将导致相应的子匹配被记住。例如,/a(b)c /可以匹配字符串“abc”,并且记得“b”。回调这些括号中匹配的子串,使用数组元素[1],……[n]。
diff --git a/files/zh-cn/web/javascript/guide/working_with_objects/index.html b/files/zh-cn/web/javascript/guide/working_with_objects/index.html
index eb20cf56b1..1092d05e0a 100644
--- a/files/zh-cn/web/javascript/guide/working_with_objects/index.html
+++ b/files/zh-cn/web/javascript/guide/working_with_objects/index.html
@@ -10,7 +10,7 @@ tags:
- 比较对象
translation_of: Web/JavaScript/Guide/Working_with_Objects
---
-{{jsSidebar("JavaScript Guide")}} {{PreviousNext("Web/JavaScript/Guide/Text_formatting", "Web/JavaScript/Guide/Details_of_the_Object_Model")}}
+{{jsSidebar("JavaScript Guide")}} {{PreviousNext("Web/JavaScript/Guide/Text_formatting", "Web/JavaScript/Guide/Details_of_the_Object_Model")}}
JavaScript 的设计是一个简单的基于对象的范式。一个对象就是一系列属性的集合,一个属性包含一个名和一个值。一个属性的值可以是函数,这种情况下属性也被称为方法。除了浏览器里面预定义的那些对象之外,你也可以定义你自己的对象。本章节讲述了怎么使用对象、属性、函数和方法,怎样实现自定义对象。
diff --git a/files/zh-cn/web/javascript/reference/classes/index.html b/files/zh-cn/web/javascript/reference/classes/index.html
index 55bc4d0937..643b672fe7 100644
--- a/files/zh-cn/web/javascript/reference/classes/index.html
+++ b/files/zh-cn/web/javascript/reference/classes/index.html
@@ -446,7 +446,3 @@ class Bar extends calculatorMixin(randomizerMixin(Foo)) { }
Blog post: "ES6 In Depth: Classes"
Fields and public/private class properties proposal (stage 3)
-
-
diff --git a/files/zh-cn/web/javascript/reference/errors/deprecated_source_map_pragma/index.html b/files/zh-cn/web/javascript/reference/errors/deprecated_source_map_pragma/index.html
index e37aec2fa3..42339a4e85 100644
--- a/files/zh-cn/web/javascript/reference/errors/deprecated_source_map_pragma/index.html
+++ b/files/zh-cn/web/javascript/reference/errors/deprecated_source_map_pragma/index.html
@@ -53,7 +53,7 @@ Warning: SyntaxError: Using //@ to indicate sourceMappingURL pragmas is deprecat
{{CompatibilityTable}}
-
+
@@ -76,7 +76,7 @@ Warning: SyntaxError: Using //@ to indicate sourceMappingURL pragmas is deprecat
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/fill/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/fill/index.html
index 6879a6b985..05f19bfcb5 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/array/fill/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/array/fill/index.html
@@ -141,7 +141,7 @@ arr[0].hi = "hi"; // [{ hi: "hi" }, { hi: "hi" }, { hi: "hi" }]
{{Compat("javascript.builtins.Array.fill")}}
-
+
diff --git a/files/zh-cn/web/javascript/reference/global_objects/bigint64array/index.html b/files/zh-cn/web/javascript/reference/global_objects/bigint64array/index.html
index 23361908f2..7b92b97033 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/bigint64array/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/bigint64array/index.html
@@ -4,9 +4,9 @@ slug: Web/JavaScript/Reference/Global_Objects/BigInt64Array
translation_of: Web/JavaScript/Reference/Global_Objects/BigInt64Array
---
-
{{JSRef}}
+
{{JSRef}}
-
BigInt64Array
类型的数组代表由64位有符号整数组成的数组。如果需要控制字节顺序的话,请使用 {{jsxref("DataView")}} 代替。内容初始化为 0n
。一旦建立,就可以使用对象的方法或使用标准数组索引语法(即使用中括号表示法)引用数组中的元素。
+
BigInt64Array
类型的数组代表由64位有符号整数组成的数组。如果需要控制字节顺序的话,请使用 {{jsxref("DataView")}} 代替。内容初始化为 0n
。一旦建立,就可以使用对象的方法或使用标准数组索引语法(即使用中括号表示法)引用数组中的元素。
构造函数
diff --git a/files/zh-cn/web/javascript/reference/global_objects/date/getmilliseconds/index.html b/files/zh-cn/web/javascript/reference/global_objects/date/getmilliseconds/index.html
index 15d556779d..be3ebe8f9b 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/date/getmilliseconds/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/date/getmilliseconds/index.html
@@ -66,8 +66,6 @@ ms = Today.getMilliseconds();
相关链接
-
-