From 97065b2e68dd8768dc1ea092c893c57ebe205026 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Thu, 25 Feb 2021 08:31:36 -0500 Subject: use class="hidden" not style="display:none" --- .../web/javascript/reference/global_objects/atomics/index.html | 2 +- .../reference/global_objects/bigint64array/index.html | 10 +++++----- .../javascript/reference/global_objects/date/getday/index.html | 2 +- .../javascript/reference/global_objects/decodeuri/index.html | 4 ++-- .../reference/global_objects/decodeuricomponent/index.html | 2 +- .../javascript/reference/global_objects/function/index.html | 2 +- .../javascript/reference/global_objects/math/floor/index.html | 2 +- .../web/javascript/reference/global_objects/set/index.html | 2 +- .../reference/global_objects/string/lastindexof/index.html | 2 +- .../javascript/reference/global_objects/typedarray/index.html | 6 +++--- .../reference/operators/division_assignment/index.html | 2 +- .../javascript/reference/operators/exponentiation/index.html | 2 +- .../reference/operators/exponentiation_assignment/index.html | 2 +- .../web/javascript/reference/operators/left_shift/index.html | 2 +- .../reference/operators/left_shift_assignment/index.html | 2 +- .../web/javascript/reference/operators/logical_not/index.html | 2 +- .../web/javascript/reference/operators/right_shift/index.html | 2 +- .../reference/operators/right_shift_assignment/index.html | 2 +- .../web/javascript/reference/operators/subtraction/index.html | 2 +- .../reference/operators/subtraction_assignment/index.html | 2 +- 20 files changed, 27 insertions(+), 27 deletions(-) (limited to 'files/zh-cn/web/javascript/reference') diff --git a/files/zh-cn/web/javascript/reference/global_objects/atomics/index.html b/files/zh-cn/web/javascript/reference/global_objects/atomics/index.html index 4c80b3f868..b00344ba74 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/atomics/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/atomics/index.html @@ -24,7 +24,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Atomics

方法

-
 
+
{{jsxref("Atomics.add()")}}
将指定位置上的数组元素与给定的值相加,并返回相加前该元素的值。
{{jsxref("Atomics.and()")}}
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 23a2a114b6..e1cdb4179e 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 @@ -39,13 +39,13 @@ translation_of: Web/JavaScript/Reference/Global_Objects/BigInt64Array
{{jsxref("TypedArray.prototype.byteOffset", "BigInt64Array.prototype.byteOffset")}}
返回 BigInt64Array 从{jsxref(“ArrayBuffer”)}}开始的偏移量(以字节为单位)。这在构造时已被固定的,因此是只读。
{{jsxref("TypedArray.prototype.length", "BigInt64Array.prototype.length")}}
-
                 -

返回 BigInt64Array 中被 保留的元 素个数。这  在构造时是固定的,因此是只读   

+
+

返回 BigInt64Array 中被保留的元素个数。这在构造时是固定的,因此是只读

-

 

-                  +

+ -

  

+

diff --git a/files/zh-cn/web/javascript/reference/global_objects/date/getday/index.html b/files/zh-cn/web/javascript/reference/global_objects/date/getday/index.html index 20147639c4..86fa7a85d4 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/date/getday/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/date/getday/index.html @@ -51,7 +51,7 @@ console.log(new Intl.DateTimeFormat('de-DE', options).format(Xmas95)); 注解 - {{SpecName('ESDraft', '#sec-date.prototype.getday', 'Date.prototype.getDay')}}   + {{SpecName('ESDraft', '#sec-date.prototype.getday', 'Date.prototype.getDay')}} {{Spec2('ESDraft')}}   diff --git a/files/zh-cn/web/javascript/reference/global_objects/decodeuri/index.html b/files/zh-cn/web/javascript/reference/global_objects/decodeuri/index.html index dfaaf7e104..c3cd66adae 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/decodeuri/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/decodeuri/index.html @@ -113,9 +113,9 @@ translation_of: Web/JavaScript/Reference/Global_Objects/decodeURI

- +

- +

diff --git a/files/zh-cn/web/javascript/reference/global_objects/decodeuricomponent/index.html b/files/zh-cn/web/javascript/reference/global_objects/decodeuricomponent/index.html index 07070206e4..a45b313f7c 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/decodeuricomponent/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/decodeuricomponent/index.html @@ -146,5 +146,5 @@ translation_of: Web/JavaScript/Reference/Global_Objects/decodeURIComponent

- +

diff --git a/files/zh-cn/web/javascript/reference/global_objects/function/index.html b/files/zh-cn/web/javascript/reference/global_objects/function/index.html index 217ac78e3d..5358d39627 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/function/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/function/index.html @@ -38,7 +38,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Function

使用 Function 构造器生成的 Function 对象是在函数创建时解析的。这比你使用函数声明或者函数表达式并在你的代码中调用更为低效,因为使用后者创建的函数是跟其他代码一起解析的。

-

所有被传递到构造函数中的参数,都将被视为将被创建的函数的参数,并且是相同的标示符名称和传递顺序。

+

所有被传递到构造函数中的参数,都将被视为将被创建的函数的参数,并且是相同的标示符名称和传递顺序。

以调用函数的方式调用 Function 的构造函数(而不是使用 new 关键字) 跟以构造函数来调用是一样的。

diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/floor/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/floor/index.html index f41d9aedfc..91e6f0c395 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/math/floor/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/math/floor/index.html @@ -146,7 +146,7 @@ Math.ceil10(-59, 1); // -50 - {{SpecName('ES6', '#sec-math.floor', 'Math.floor')}}  + {{SpecName('ES6', '#sec-math.floor', 'Math.floor')}} {{Spec2('ES6')}} diff --git a/files/zh-cn/web/javascript/reference/global_objects/set/index.html b/files/zh-cn/web/javascript/reference/global_objects/set/index.html index 6d4dca88c9..bcd764b394 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/set/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/set/index.html @@ -269,5 +269,5 @@ new Set("firefox") // Set(6) [ "f", "i", "r", "e", "o", "x" ]

- +

diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/lastindexof/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/lastindexof/index.html index 5dca3e48d4..3c3e51d666 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/lastindexof/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/lastindexof/index.html @@ -3,7 +3,7 @@ title: String.prototype.lastIndexOf() slug: Web/JavaScript/Reference/Global_Objects/String/lastIndexOf translation_of: Web/JavaScript/Reference/Global_Objects/String/lastIndexOf --- -

 {{JSRef}}

+

{{JSRef}}

 lastIndexOf() 方法返回调用{{jsxref("String")}} 对象的指定值最后一次出现的索引,在一个字符串中的指定位置 fromIndex处从后向前搜索。如果没找到这个特定值则返回-1 。

diff --git a/files/zh-cn/web/javascript/reference/global_objects/typedarray/index.html b/files/zh-cn/web/javascript/reference/global_objects/typedarray/index.html index 3ccd0fd6f2..9be826cd36 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/typedarray/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/typedarray/index.html @@ -295,13 +295,13 @@ for (var k in typedArrayTypes)

- +

- +

- +

diff --git a/files/zh-cn/web/javascript/reference/operators/division_assignment/index.html b/files/zh-cn/web/javascript/reference/operators/division_assignment/index.html index 25f93e997b..a5afd52f49 100644 --- a/files/zh-cn/web/javascript/reference/operators/division_assignment/index.html +++ b/files/zh-cn/web/javascript/reference/operators/division_assignment/index.html @@ -54,5 +54,5 @@ bar /= 0 // Infinity

- +

diff --git a/files/zh-cn/web/javascript/reference/operators/exponentiation/index.html b/files/zh-cn/web/javascript/reference/operators/exponentiation/index.html index e9299d7f8f..957cc40de2 100644 --- a/files/zh-cn/web/javascript/reference/operators/exponentiation/index.html +++ b/files/zh-cn/web/javascript/reference/operators/exponentiation/index.html @@ -103,5 +103,5 @@ NaN ** 2 // NaN

- +

diff --git a/files/zh-cn/web/javascript/reference/operators/exponentiation_assignment/index.html b/files/zh-cn/web/javascript/reference/operators/exponentiation_assignment/index.html index 12f77694c7..f9f53ca532 100644 --- a/files/zh-cn/web/javascript/reference/operators/exponentiation_assignment/index.html +++ b/files/zh-cn/web/javascript/reference/operators/exponentiation_assignment/index.html @@ -55,5 +55,5 @@ bar **= 'foo' // NaN

- +

diff --git a/files/zh-cn/web/javascript/reference/operators/left_shift/index.html b/files/zh-cn/web/javascript/reference/operators/left_shift/index.html index aba9c6bee2..83fe088941 100644 --- a/files/zh-cn/web/javascript/reference/operators/left_shift/index.html +++ b/files/zh-cn/web/javascript/reference/operators/left_shift/index.html @@ -68,5 +68,5 @@ translation_of: Web/JavaScript/Reference/Operators/Left_shift

- +

diff --git a/files/zh-cn/web/javascript/reference/operators/left_shift_assignment/index.html b/files/zh-cn/web/javascript/reference/operators/left_shift_assignment/index.html index 3ebe7cef88..ccf5bbce00 100644 --- a/files/zh-cn/web/javascript/reference/operators/left_shift_assignment/index.html +++ b/files/zh-cn/web/javascript/reference/operators/left_shift_assignment/index.html @@ -55,5 +55,5 @@ a <<= 2; // 20

- +

diff --git a/files/zh-cn/web/javascript/reference/operators/logical_not/index.html b/files/zh-cn/web/javascript/reference/operators/logical_not/index.html index 75084956a7..f05bfb180a 100644 --- a/files/zh-cn/web/javascript/reference/operators/logical_not/index.html +++ b/files/zh-cn/web/javascript/reference/operators/logical_not/index.html @@ -100,5 +100,5 @@ n6 = !!Boolean(false) // !!falsy returns false

- +

diff --git a/files/zh-cn/web/javascript/reference/operators/right_shift/index.html b/files/zh-cn/web/javascript/reference/operators/right_shift/index.html index 267a2c0ccc..f049a499a9 100644 --- a/files/zh-cn/web/javascript/reference/operators/right_shift/index.html +++ b/files/zh-cn/web/javascript/reference/operators/right_shift/index.html @@ -71,5 +71,5 @@ translation_of: Web/JavaScript/Reference/Operators/Right_shift

- +

diff --git a/files/zh-cn/web/javascript/reference/operators/right_shift_assignment/index.html b/files/zh-cn/web/javascript/reference/operators/right_shift_assignment/index.html index d4163c0f4d..f9e8b3c8c4 100644 --- a/files/zh-cn/web/javascript/reference/operators/right_shift_assignment/index.html +++ b/files/zh-cn/web/javascript/reference/operators/right_shift_assignment/index.html @@ -55,5 +55,5 @@ b >>= 2; // -2 (-00000000000000000000000000000010)

- +

diff --git a/files/zh-cn/web/javascript/reference/operators/subtraction/index.html b/files/zh-cn/web/javascript/reference/operators/subtraction/index.html index 6bb33366e8..00dcee2a1e 100644 --- a/files/zh-cn/web/javascript/reference/operators/subtraction/index.html +++ b/files/zh-cn/web/javascript/reference/operators/subtraction/index.html @@ -63,5 +63,5 @@ translation_of: Web/JavaScript/Reference/Operators/Subtraction

- +

diff --git a/files/zh-cn/web/javascript/reference/operators/subtraction_assignment/index.html b/files/zh-cn/web/javascript/reference/operators/subtraction_assignment/index.html index 8286c2010b..93dc5a138b 100644 --- a/files/zh-cn/web/javascript/reference/operators/subtraction_assignment/index.html +++ b/files/zh-cn/web/javascript/reference/operators/subtraction_assignment/index.html @@ -55,5 +55,5 @@ bar -= 'foo' // NaN

- +

-- cgit v1.2.3-54-g00ecf