aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects
diff options
context:
space:
mode:
authort7yang <t7yang@gmail.com>2022-01-10 08:38:06 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commitea514a38735125a2b5468300311ea8b2389c8863 (patch)
tree1afc6c2ff3ee3bc5efdfbba3841e2ef24f0c9485 /files/zh-cn/web/javascript/reference/global_objects
parenta2960295605a27e084541fc2f93068dd3cad15ba (diff)
downloadtranslated-content-ea514a38735125a2b5468300311ea8b2389c8863.tar.gz
translated-content-ea514a38735125a2b5468300311ea8b2389c8863.tar.bz2
translated-content-ea514a38735125a2b5468300311ea8b2389c8863.zip
remove hidden class for zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/array/flatmap/index.html8
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/array/reduce/index.html4
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/array/shift/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/array/slice/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/array/splice/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/array/values/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/dataview/getbiguint64/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/date/parse/index.html4
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/decodeuri/index.html12
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/decodeuricomponent/index.html4
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/eval/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/function/name/index.html4
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/intl/datetimeformat/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/intl/relativetimeformat/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/math/index.html34
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/number/index.html4
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/object/create/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/parseint/index.html4
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/promise/all/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/promise/index.html4
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/promise/promise/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/promise/race/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/promise/resolve/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/promise/then/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/proxy/proxy/apply/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/regexp/test/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/set/index.html4
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/set/size/index.html4
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/sharedarraybuffer/index.html4
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/match/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/padend/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/padstart/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/string/touppercase/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/symbol/hasinstance/index.html3
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/symbol/split/index.html2
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/typedarray/index.html12
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/webassembly/instance/index.html9
37 files changed, 3 insertions, 157 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/flatmap/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/flatmap/index.html
index 8383d4be6a..d0c4cfc9b5 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/array/flatmap/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/array/flatmap/index.html
@@ -13,9 +13,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/flatMap
<p><code><strong>flatMap()</strong></code> 方法首先使用映射函数映射每个元素,然后将结果压缩成一个新数组。它与 <a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map">map</a> 连着深度值为1的 <a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/flat">flat</a> 几乎相同,但 <code>flatMap</code> 通常在合并成一种方法的效率稍微高一些。</p>
-<p class="hidden">\{{EmbedInteractiveExample("pages/js/array-flatmap.html")}}</p>
-
-<p class="hidden">此交互式示例的源代码存储在GitHub存储库中。如果您想要为交互式示例项目做出贡献,请复制https://github.com/mdn/interactive-examples,并向我们发送 pull request。</p>
+<p>\{{EmbedInteractiveExample("pages/js/array-flatmap.html")}}</p>
<h2 id="语法">语法</h2>
@@ -110,10 +108,6 @@ arr.reduce((acc, x) =&gt; acc.concat([x, x * 2]), []);
<p>请注意,这是低效的,并且应该避免大型阵列:在每次迭代中,它创建一个必须被垃圾收集的新临时数组,并且它将元素从当前的累加器数组复制到一个新的数组中,而不是将新的元素添加到现有的数组中。</p>
-<div class="hidden">
-<p>Please do not add polyfills on this article. For reference, please check: <a href="https://discourse.mozilla.org/t/mdn-rfc-001-mdn-wiki-pages-shouldnt-be-a-distributor-of-polyfills/24500">https://discourse.mozilla.org/t/mdn-rfc-001-mdn-wiki-pages-shouldnt-be-a-distributor-of-polyfills/24500</a></p>
-</div>
-
<h2 id="规范">规范</h2>
<table class="standard-table">
diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/reduce/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/reduce/index.html
index cc217e28af..c362c85c77 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/array/reduce/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/array/reduce/index.html
@@ -17,10 +17,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/Reduce
<div>{{EmbedInteractiveExample("pages/js/array-reduce.html")}}</div>
-<div class="hidden">
-<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request. </p>
-</div>
-
<div>
<p><strong>reducer</strong> 函数接收4个参数:</p>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/shift/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/shift/index.html
index 3675c12bc4..834f64aa96 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/array/shift/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/array/shift/index.html
@@ -15,8 +15,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/shift
<div>{{EmbedInteractiveExample("pages/js/array-shift.html")}}</div>
-<p class="hidden">这份交互测试源码存储在Github仓库中。如果你想为这份交互测试源码做贡献, 请克隆 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> 同时提交一个pull request.</p>
-
<h2 id="语法">语法</h2>
<pre class="syntaxbox"><code><var>arr</var>.shift()</code></pre>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/slice/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/slice/index.html
index b69293d1db..0aa5dc1186 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/array/slice/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/array/slice/index.html
@@ -16,8 +16,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/slice
<div>{{EmbedInteractiveExample("pages/js/array-slice.html")}}</div>
-<p class="hidden">The source for this interactive demo is stored in a GitHub repository. If you'd like to contribute to the interactive demo project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</p>
-
<h2 id="语法">语法</h2>
<pre class="syntaxbox"><var>arr</var>.slice([<var>begin</var>[, <var>end</var>]])</pre>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/splice/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/splice/index.html
index b2bb7374dd..6d660999b6 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/array/splice/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/array/splice/index.html
@@ -16,8 +16,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/splice
<div>{{EmbedInteractiveExample("pages/js/array-splice.html")}}</div>
-<p class="hidden">交互范例的源码储存于 GitHub 仓库。想要参与此项目,可 clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> 并发送 pull request 给我们。</p>
-
<h2 id="语法">语法</h2>
<pre class="syntaxbox"><var>array</var>.splice(<var>start[</var>, <var>deleteCount[</var>, <var>item1[</var>, <var>item2[</var>, <em>...]]]]</em>)
diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/values/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/values/index.html
index d8cc03f53f..92e3920d88 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/array/values/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/array/values/index.html
@@ -84,8 +84,6 @@ iterator.next().value; // "n"
<p>如果数组中元素改变,那么迭代器的值也会改变</p>
</div>
-<p class="hidden"><strong>TODO</strong>: please write about why we need it, use cases.</p>
-
<h2 id="规范">规范</h2>
<table class="standard-table">
diff --git a/files/zh-cn/web/javascript/reference/global_objects/dataview/getbiguint64/index.html b/files/zh-cn/web/javascript/reference/global_objects/dataview/getbiguint64/index.html
index d418df1366..08df757588 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/dataview/getbiguint64/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/dataview/getbiguint64/index.html
@@ -9,8 +9,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/DataView/getBigUint64
<div>{{EmbedInteractiveExample("pages/js/dataview-getbiguint64.html")}}</div>
-<p class="hidden">上述交互例程存储在github仓库中. 如果你想贡献这段交互代码, 请克隆<a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> ,然后给我们提交一个pull request.</p>
-
<h2 id="语法">语法</h2>
<pre class="syntaxbox"><var>dataview</var>.getBigUint64(byteOffset [, littleEndian])</pre>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/date/parse/index.html b/files/zh-cn/web/javascript/reference/global_objects/date/parse/index.html
index 9646b069da..68a8d136e7 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/date/parse/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/date/parse/index.html
@@ -167,10 +167,6 @@ Date.parse('foo-bar 2014');
<p> </p>
-<div class="hidden">
-<p>The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a>and send us a pull request.</p>
-</div>
-
<p>{{Compat("javascript.builtins.Date.parse")}}</p>
<h2 id="See_also" name="See_also">兼容性提示</h2>
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 f629d4ec9b..f45613cee2 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
@@ -16,10 +16,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/decodeURI
<p>{{EmbedInteractiveExample("pages/js/globalprops-decodeuri.html")}}</p>
-<div class="hidden">
-<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</p>
-</div>
-
<h2 id="语法">语法</h2>
<pre class="syntaxbox"><code>decodeURI(<em>encodedURI</em>)</code></pre>
@@ -106,11 +102,3 @@ translation_of: Web/JavaScript/Reference/Global_Objects/decodeURI
<li>{{jsxref("encodeURI")}}</li>
<li>{{jsxref("encodeURIComponent")}}</li>
</ul>
-
-<p>
- <audio class="hidden"></audio>
-</p>
-
-<p>
- <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 ebe7d639ed..7db77bdbf1 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
@@ -144,7 +144,3 @@ translation_of: Web/JavaScript/Reference/Global_Objects/decodeURIComponent
<li>{{jsxref("encodeURI")}}</li>
<li>{{jsxref("encodeURIComponent")}}</li>
</ul>
-
-<p>
- <audio class="hidden"> </audio>
-</p>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/eval/index.html b/files/zh-cn/web/javascript/reference/global_objects/eval/index.html
index dc2e4f95a6..9e2ecdfcef 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/eval/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/eval/index.html
@@ -13,8 +13,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/eval
<div>{{EmbedInteractiveExample("pages/js/globalprops-eval.html")}}</div>
-<p class="hidden">此交互式示例的源存储在GitHub存储库中。 如果您想参与交互式示例项目,请克隆https://github.com/mdn/interactive-examples并向我们发送拉取请求。</p>
-
<h2 id="语法">语法</h2>
<pre class="syntaxbox"><code>eval(<em>string</em>)</code></pre>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/function/name/index.html b/files/zh-cn/web/javascript/reference/global_objects/function/name/index.html
index 80253d1caa..61f96599b8 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/function/name/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/function/name/index.html
@@ -60,10 +60,6 @@ try { object_someMethod } catch(e) { alert(e); }
<p>你不能更改函数的名称,此属性是只读的:</p>
-<div class="hidden">
-<p>Example below contradicts with what is said at the beginning of this section and doesn't work as described.</p>
-</div>
-
<pre class="brush: js">var object = {
// anonymous
someMethod: function() {}
diff --git a/files/zh-cn/web/javascript/reference/global_objects/intl/datetimeformat/index.html b/files/zh-cn/web/javascript/reference/global_objects/intl/datetimeformat/index.html
index 1f446b3247..874f0cdbf7 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/intl/datetimeformat/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/intl/datetimeformat/index.html
@@ -9,8 +9,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat
<div>{{EmbedInteractiveExample("pages/js/intl-datetimeformat.html")}}</div>
-<p class="hidden">交互示例的源代码存储在 GitHub 资源库。如果你愿意分布交互示例,请复制<a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a>,并向我们发送一个pull请求。</p>
-
<h2 id="语法">语法</h2>
<pre class="syntaxbox"><code>new Intl.DateTimeFormat([<var>locales</var>[, <var>options</var>]])
diff --git a/files/zh-cn/web/javascript/reference/global_objects/intl/relativetimeformat/index.html b/files/zh-cn/web/javascript/reference/global_objects/intl/relativetimeformat/index.html
index a05c3385dd..d8206fe263 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/intl/relativetimeformat/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/intl/relativetimeformat/index.html
@@ -10,8 +10,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat
<div>{{EmbedInteractiveExample("pages/js/intl-relativetimeformat.html")}}</div>
-<p class="hidden">此交互式示例的源存储在GitHub存储库中。如果您想参与交互式示例项目,请克隆<a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a>并向我们​​发送拉取请求。</p>
-
<h2 id="句法">句法</h2>
<pre><code>new Intl.RelativeTimeFormat([<var>locales</var>[, <var>options</var>]])
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/index.html
index 3064bc3893..ae08c53771 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/math/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/math/index.html
@@ -127,40 +127,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math
<dd>返回一个数的整数部分,直接去除其小数点及之后的部分。</dd>
</dl>
-<div class="hidden">
-<div class="note">
-<p>已被移除的内容:</p>
-</div>
-
-<h2 id="拓展_Math_对象">拓展 <code>Math</code> 对象</h2>
-
-<p>As with most of the built-in objects in JavaScript, the <code>Math</code> object can be extended with custom properties and methods. To extend the <code>Math</code> object, you do not use <code>prototype</code>. Instead, you directly extend <code>Math</code>:</p>
-
-<pre>Math.propName = propValue;
-Math.methodName = methodRef;</pre>
-
-<p>For instance, the following example adds a method to the <code>Math</code> object for calculating the <em>greatest common divisor</em> of a list of arguments.</p>
-
-<pre class="brush: js">/* Variadic function -- Returns the greatest common divisor of a list of arguments */
-Math.gcd = function() {
- if (arguments.length == 2) {
- if (arguments[1] == 0)
- return arguments[0];
- else
- return Math.gcd(arguments[1], arguments[0] % arguments[1]);
- } else if (arguments.length &gt; 2) {
- var result = Math.gcd(arguments[0], arguments[1]);
- for (var i = 2; i &lt; arguments.length; i++)
- result = Math.gcd(result, arguments[i]);
- return result;
- }
-};</pre>
-
-<p>试试运行下面的代码:</p>
-
-<pre class="brush: js">console.log(Math.gcd(20, 30, 15, 70, 40)); // `5`</pre>
-</div>
-
<h2 id="规范">规范</h2>
<table class="standard-table">
diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/index.html
index 7400ad4ee2..d53c952ea3 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/number/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/number/index.html
@@ -178,10 +178,6 @@ Number('-Infinity') //-Infinity</pre>
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
<div>
-<div class="hidden">
-<p>The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a>and send us a pull request.</p>
-</div>
-
<p>{{Compat("javascript.builtins.Number")}}</p>
</div>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/object/create/index.html b/files/zh-cn/web/javascript/reference/global_objects/object/create/index.html
index 671c542a48..255cd9ec0c 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/object/create/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/object/create/index.html
@@ -16,8 +16,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Object/create
<div>{{EmbedInteractiveExample("pages/js/object-create.html", "taller")}}</div>
-<div class="hidden">The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</div>
-
<h2 id="Syntax" name="Syntax">语法</h2>
<pre>Object.create(<var>proto,[</var><var>propertiesObject</var>])</pre>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/parseint/index.html b/files/zh-cn/web/javascript/reference/global_objects/parseint/index.html
index 729aee8834..4f2def476a 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/parseint/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/parseint/index.html
@@ -16,10 +16,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/parseInt
<p>{{EmbedInteractiveExample("pages/js/globalprops-parseint.html")}}</p>
-<div class="hidden">
-<p>此交互式示例的代码存储在GitHub仓库中。如果你想参与交互式示例项目, 请克隆 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> 之后给我们发一个pull请求。</p>
-</div>
-
<h2 id="语法">语法</h2>
<pre class="syntaxbox">parseInt(<em>string</em>, <em>radix</em>);</pre>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/promise/all/index.html b/files/zh-cn/web/javascript/reference/global_objects/promise/all/index.html
index 113760c25d..6ba1063df7 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/promise/all/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/promise/all/index.html
@@ -17,8 +17,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise/all
<div>{{EmbedInteractiveExample("pages/js/promise-all.html")}}</div>
-<p class="hidden">The source for this interactive demo is stored in a GitHub repository. If you'd like to contribute to the interactive demo project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</p>
-
<h2 id="语法">语法</h2>
<pre class="syntaxbox"><var>Promise.all(iterable)</var>;</pre>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/promise/index.html b/files/zh-cn/web/javascript/reference/global_objects/promise/index.html
index 418851f99a..5a5fd2d613 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/promise/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/promise/index.html
@@ -196,7 +196,7 @@ myFirstPromise.then(function(successMessage){
<h3 id="高级示例">高级示例</h3>
-<pre class="brush: html hidden">&lt;button id="btn"&gt;Make a promise!&lt;/button&gt;
+<pre class="brush: html">&lt;button id="btn"&gt;Make a promise!&lt;/button&gt;
&lt;div id="log"&gt;&lt;/div&gt;
</pre>
@@ -247,7 +247,7 @@ function testPromise() {
') Promise made (&lt;small&gt;同步代码结束&lt;/small&gt;)&lt;br/&gt;');
}</pre>
-<pre class="brush:js hidden">if ("Promise" in window) {
+<pre class="brush:js">if ("Promise" in window) {
let btn = document.getElementById("btn");
btn.addEventListener("click",testPromise);
} else {
diff --git a/files/zh-cn/web/javascript/reference/global_objects/promise/promise/index.html b/files/zh-cn/web/javascript/reference/global_objects/promise/promise/index.html
index 4af6e48f93..1f4a6d5762 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/promise/promise/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/promise/promise/index.html
@@ -9,8 +9,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise/Promise
<div>{{EmbedInteractiveExample("pages/js/promise-constructor.html")}}</div>
-<p class="hidden">交互式的demo的源码在GitHub仓库,如果你乐于为交互式的demo做贡献,请克隆<a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a>并提交pull request .</p>
-
<h2 id="语法">语法</h2>
<pre class="syntaxbox">new Promise(<var>executor</var>)</pre>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/promise/race/index.html b/files/zh-cn/web/javascript/reference/global_objects/promise/race/index.html
index 569f7d9d50..674d97f5e1 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/promise/race/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/promise/race/index.html
@@ -11,8 +11,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise/race
<div>{{EmbedInteractiveExample("pages/js/promise-race.html")}}</div>
-<p class="hidden">The source for this interactive demo is stored in a GitHub repository. If you'd like to contribute to the interactive demo project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</p>
-
<h2 id="Syntax" name="Syntax">语法</h2>
<pre class="syntaxbox"><var>Promise.race(iterable)</var>;</pre>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/promise/resolve/index.html b/files/zh-cn/web/javascript/reference/global_objects/promise/resolve/index.html
index ee41e7d824..e25c58139a 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/promise/resolve/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/promise/resolve/index.html
@@ -31,8 +31,6 @@ Promise.resolve(thenable) //这会造成一个死循环
<div>{{EmbedInteractiveExample("pages/js/promise-resolve.html")}}</div>
-<p class="hidden">The source for this interactive demo is stored in a GitHub repository. If you'd like to contribute to the interactive demo project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</p>
-
<h2 id="Syntax" name="Syntax">语法</h2>
<pre class="syntaxbox"><var>Promise.resolve(value)</var>;
diff --git a/files/zh-cn/web/javascript/reference/global_objects/promise/then/index.html b/files/zh-cn/web/javascript/reference/global_objects/promise/then/index.html
index d5193c8498..6717a21da3 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/promise/then/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/promise/then/index.html
@@ -15,8 +15,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise/then
<div>{{EmbedInteractiveExample("pages/js/promise-then.html")}}</div>
-<p class="hidden">The source for this interactive demo is stored in a GitHub repository. If you'd like to contribute to the interactive demo project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</p>
-
<div class="note">
<p>注意:如果忽略针对某个状态的回调函数参数,或者提供非函数 (nonfunction) 参数,那么 <code>then</code> 方法将会丢失关于该状态的回调函数信息,但是并不会产生错误。如果调用 <code>then</code> 的 <code>Promise</code> 的状态(fulfillment 或 rejection)发生改变,但是 <code>then</code> 中并没有关于这种状态的回调函数,那么 <code>then</code> 将创建一个没有经过回调函数处理的新 <code>Promise</code> 对象,这个新 <code>Promise</code> 只是简单地接受调用这个 <code>then</code> 的原 <code>Promise</code> 的终态作为它的终态。</p>
</div>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/proxy/proxy/apply/index.html b/files/zh-cn/web/javascript/reference/global_objects/proxy/proxy/apply/index.html
index 7c41b6121e..6dbaa77b5c 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/proxy/proxy/apply/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/proxy/proxy/apply/index.html
@@ -15,8 +15,6 @@ original_slug: Web/JavaScript/Reference/Global_Objects/Proxy/handler/apply
<div>{{EmbedInteractiveExample("pages/js/proxyhandler-apply.html", "taller")}}</div>
-<p class="hidden">此交互式示例的源代码存储在GitHub存储库中。 如果您想为交互式示例项目做出贡献,请克隆 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> 并向我们发起拉取请求</p>
-
<h2 id="语法">语法</h2>
<pre class="brush: js">var p = new Proxy(target, {
diff --git a/files/zh-cn/web/javascript/reference/global_objects/regexp/test/index.html b/files/zh-cn/web/javascript/reference/global_objects/regexp/test/index.html
index d1f4ed7183..8bd8126956 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/regexp/test/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/regexp/test/index.html
@@ -15,8 +15,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/RegExp/test
<div>{{EmbedInteractiveExample("pages/js/regexp-prototype-test.html", "taller")}}</div>
-<div class="hidden">The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</div>
-
<h2 id="Syntax" name="Syntax">语法</h2>
<pre><var>regexObj</var>.test(str)</pre>
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 682edbc181..df4e5fbf4c 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
@@ -263,7 +263,3 @@ new Set("firefox") // Set(6) [ "f", "i", "r", "e", "o", "x" ]
<li>{{ jsxref('WeakMap') }}</li>
<li>{{ jsxref('WeakSet') }}</li>
</ul>
-
-<p>
- <audio class="hidden"></audio>
-</p>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/set/size/index.html b/files/zh-cn/web/javascript/reference/global_objects/set/size/index.html
index 80df85291e..9ff986da31 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/set/size/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/set/size/index.html
@@ -14,10 +14,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Set/size
<p>{{EmbedInteractiveExample("pages/js/set-prototype-size.html")}}</p>
-<div class="hidden">
-<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</p>
-</div>
-
<h2 id="描述">描述</h2>
<p><code>size</code>的值是一个整数,表示<code>Set</code>对象有多少条目。<code>size</code>的集合访问函数是<code>undefined</code>; 你不能改变这个属性。</p>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/sharedarraybuffer/index.html b/files/zh-cn/web/javascript/reference/global_objects/sharedarraybuffer/index.html
index c6eb9cc2d2..426f293f00 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/sharedarraybuffer/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/sharedarraybuffer/index.html
@@ -24,10 +24,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
<p>{{EmbedInteractiveExample("pages/js/sharedarraybuffer-constructor.html")}}</p>
-<div class="hidden">
-<p>The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</p>
-</div>
-
<h2 id="语法">语法</h2>
<pre class="syntaxbox">new SharedArrayBuffer(length)
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/match/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/match/index.html
index d93b8bebef..33a3a57880 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/match/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/match/index.html
@@ -10,8 +10,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/match
<div>{{EmbedInteractiveExample("pages/js/string-match.html", "shorter")}}</div>
-<div class="hidden">The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</div>
-
<h2 id="Syntax" name="Syntax">语法</h2>
<pre class="syntaxbox"><code><em>str</em>.match(regexp)</code></pre>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/padend/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/padend/index.html
index e73b847c5b..c66bc9d861 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/padend/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/padend/index.html
@@ -14,8 +14,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/padEnd
<div>{{EmbedInteractiveExample("pages/js/string-padend.html")}}</div>
-<div class="hidden">The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</div>
-
<h2 id="语法">语法</h2>
<pre class="syntaxbox"><var>str</var>.padEnd(<var>targetLength</var> [, <var>padString</var>])</pre>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/padstart/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/padstart/index.html
index 69aff06b94..98d0f201ed 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/padstart/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/padstart/index.html
@@ -16,8 +16,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/padStart
<div>{{EmbedInteractiveExample("pages/js/string-padstart.html")}}</div>
-<div class="hidden">The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</div>
-
<h2 id="语法">语法</h2>
<pre class="syntaxbox"><var>str</var>.padStart(<var>targetLength</var> [, <var>padString</var>])</pre>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/touppercase/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/touppercase/index.html
index 820f1a80b3..a62e0e137c 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/string/touppercase/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/string/touppercase/index.html
@@ -15,8 +15,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/toUpperCase
<div>{{EmbedInteractiveExample("pages/js/string-touppercase.html","shorter")}}</div>
-<p class="hidden">这个交互式示例的源代码存储在GitHub存储库中。如果您想对交互式示例项目作出贡献,请克隆<a href="/zh-CN/docs/">https://github.com/mdn/interactive-examples</a>并向我们发送请求。</p>
-
<h2 id="语法">语法</h2>
<pre class="syntaxbox"><var>str</var>.toUpperCase()</pre>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/symbol/hasinstance/index.html b/files/zh-cn/web/javascript/reference/global_objects/symbol/hasinstance/index.html
index c4d2d0753a..95b8c11f59 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/symbol/hasinstance/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/symbol/hasinstance/index.html
@@ -10,9 +10,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Symbol/hasInstance
<div>
<div>{{EmbedInteractiveExample("pages/js/symbol-hasinstance.html")}}</div>
-<div class="hidden">The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</div>
-</div>
-
<div>{{js_property_attributes(0,0,0)}}</div>
<h2 id="示例">示例</h2>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/symbol/split/index.html b/files/zh-cn/web/javascript/reference/global_objects/symbol/split/index.html
index eefbc9d547..220716da29 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/symbol/split/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/symbol/split/index.html
@@ -11,8 +11,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Symbol/split
<div>{{EmbedInteractiveExample("pages/js/symbol-split.html")}}</div>
-<div class="hidden">The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</div>
-
<div>{{js_property_attributes(0,0,0)}}</div>
<h2 id="示例">示例</h2>
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 912d45dea4..212f2cc483 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
@@ -293,15 +293,3 @@ for (var k in typedArrayTypes)
<li>{{jsxref("ArrayBuffer")}}</li>
<li>{{jsxref("DataView")}}</li>
</ul>
-
-<p>
- <audio class="hidden"></audio>
-</p>
-
-<p>
- <audio class="hidden"></audio>
-</p>
-
-<p>
- <audio class="hidden"></audio>
-</p>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/webassembly/instance/index.html b/files/zh-cn/web/javascript/reference/global_objects/webassembly/instance/index.html
index de15cec004..f7492e2b40 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/webassembly/instance/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/webassembly/instance/index.html
@@ -44,15 +44,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/WebAssembly/Instance
<dt></dt>
</dl>
-<div class="hidden">
-<dl>
- <dt></dt>
- <dt>
- <p>译者注:英文版的变动有点大,用例模块暂时不翻译,后来者有心的话可以翻译一下。</p>
- </dt>
-</dl>
-</div>
-
<h2 id="规格">规格</h2>
<table class="standard-table">