diff options
Diffstat (limited to 'files/zh-cn/web/javascript')
21 files changed, 28 insertions, 28 deletions
diff --git a/files/zh-cn/web/javascript/guide/regular_expressions/unicode_property_escapes/index.html b/files/zh-cn/web/javascript/guide/regular_expressions/unicode_property_escapes/index.html index 0b0252022a..5ef6c0ec75 100644 --- a/files/zh-cn/web/javascript/guide/regular_expressions/unicode_property_escapes/index.html +++ b/files/zh-cn/web/javascript/guide/regular_expressions/unicode_property_escapes/index.html @@ -39,7 +39,7 @@ translation_of: Web/JavaScript/Guide/Regular_Expressions/Unicode_Property_Escape <li><a href="https://unicode.org/reports/tr24/#Script_Extensions">Script_Extensions</a> (<code>scx</code>)</li> </ul> -<p>参考 <a href="https://www.unicode.org/Public/UCD/latest/ucd/PropertyValueAliases.txt">PropertyValueAliases.txt<span style="display: none;"> </span></a></p> +<p>参考 <a href="https://www.unicode.org/Public/UCD/latest/ucd/PropertyValueAliases.txt">PropertyValueAliases.txt<span class="hidden"> </span></a></p> <dl> <dt>UnicodeBinary属性名</dt> 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 <h2 id="方法">方法</h2> <dl> - <dt><span style="display: none;"> </span></dt> + <dt><span class="hidden"> </span></dt> <dt>{{jsxref("Atomics.add()")}}</dt> <dd>将指定位置上的数组元素与给定的值相加,并返回相加前该元素的值。</dd> <dt><strong>{{jsxref("Atomics.and()")}}</strong></dt> 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 <dt>{{jsxref("TypedArray.prototype.byteOffset", "BigInt64Array.prototype.byteOffset")}}</dt> <dd>返回 <code>BigInt64Array</code> 从{jsxref(“ArrayBuffer”)}}开始的偏移量(以字节为单位)。这在构造时已被固定的,因此是只读。</dd> <dt>{{jsxref("TypedArray.prototype.length", "BigInt64Array.prototype.length")}}</dt> - <dd><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span> - <p>返回 <code>BigInt64Array</code> 中被<span style="display: none;"> </span>保留的元<span style="display: none;"> </span>素个数。这<span style="display: none;"> </span><span style="display: none;"> </span>在构造时是固定的,因此是只读<span style="display: none;"> </span>。<span style="display: none;"> </span><span style="display: none;"> </span><strong><span style="display: none;"> </span></strong></p> + <dd><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span> + <p>返回 <code>BigInt64Array</code> 中被<span class="hidden"> </span>保留的元<span class="hidden"> </span>素个数。这<span class="hidden"> </span><span class="hidden"> </span>在构造时是固定的,因此是只读<span class="hidden"> </span>。<span class="hidden"> </span><span class="hidden"> </span><strong><span class="hidden"> </span></strong></p> - <p><span style="display: none;"> </span><span style="display: none;"> </span></p> - <span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span> + <p><span class="hidden"> </span><span class="hidden"> </span></p> + <span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span> - <h2 id="sect1"><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span></h2> + <h2 id="sect1"><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span></h2> </dd> </dl> 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)); <th scope="col">注解</th> </tr> <tr> - <td>{{SpecName('ESDraft', '#sec-date.prototype.getday', 'Date.prototype.getDay')}}<span style="display: none;"> </span><span style="display: none;"> </span></td> + <td>{{SpecName('ESDraft', '#sec-date.prototype.getday', 'Date.prototype.getDay')}}<span class="hidden"> </span><span class="hidden"> </span></td> <td>{{Spec2('ESDraft')}} </td> <td></td> </tr> 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 </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> 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 </ul> <p> - <audio style="display: none;"> </audio> + <audio class="hidden"> </audio> </p> 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 <p>使用 <code>Function</code> 构造器生成的 <code>Function</code> 对象是在函数创建时解析的。这比你使用<a href="/zh-CN/docs/Web/JavaScript/Reference/Operators/function">函数声明</a>或者<a href="/zh-CN/docs/Web/JavaScript/Reference/Operators/function">函数表达式</a>并在你的代码中调用更为低效,因为使用后者创建的函数是跟其他代码一起解析的。</p> -<p>所有被传递到构造函数中的参数,都将被视为将被创建的函数的参数,并且是相同的标示符名称和传递顺序。<a href="/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/eval"><span style="display: none;"> </span></a></p> +<p>所有被传递到构造函数中的参数,都将被视为将被创建的函数的参数,并且是相同的标示符名称和传递顺序。<a href="/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/eval"><span class="hidden"> </span></a></p> <p>以调用函数的方式调用 <code>Function</code> 的构造函数(而不是使用 <code>new</code> 关键字) 跟以构造函数来调用是一样的。</p> 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 <td></td> </tr> <tr> - <td>{{SpecName('ES6', '#sec-math.floor', 'Math.floor')}}<span style="display: none;"> </span></td> + <td>{{SpecName('ES6', '#sec-math.floor', 'Math.floor')}}<span class="hidden"> </span></td> <td>{{Spec2('ES6')}}</td> <td></td> </tr> 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" ] </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> 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 --- -<p><span style="display: none;"> </span>{{JSRef}}</p> +<p><span class="hidden"> </span>{{JSRef}}</p> <p> <strong><code>lastIndexOf()</code></strong> 方法返回调用{{jsxref("String")}} 对象的指定值最后一次出现的索引,在一个字符串中的指定位置 <code>fromIndex</code>处从后向前搜索。如果没找到这个特定值则返回-1 。</p> 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) </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> 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</pre> </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> 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 </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> 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</pre> </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> 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 </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> 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 </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> 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</pre> </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> 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 </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> 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)</pre> </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> 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 </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> 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</pre> </ul> <p> - <audio style="display: none;"></audio> + <audio class="hidden"></audio> </p> |