diff options
author | t7yang <t7yang@gmail.com> | 2022-01-10 08:38:07 +0800 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-02-16 02:35:54 +0800 |
commit | c40612041809fe289aba58aefa170bbe784aba1f (patch) | |
tree | 8ca89b071d04afcf7abd6d9a04d0765a041d9c8a /files/zh-cn/web/javascript/reference/global_objects/weakset | |
parent | 12a899ab8540bc84f56a0dc6491be80a48499d49 (diff) | |
download | translated-content-c40612041809fe289aba58aefa170bbe784aba1f.tar.gz translated-content-c40612041809fe289aba58aefa170bbe784aba1f.tar.bz2 translated-content-c40612041809fe289aba58aefa170bbe784aba1f.zip |
remove name attribute for zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/weakset')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/weakset/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/weakset/index.html b/files/zh-cn/web/javascript/reference/global_objects/weakset/index.html index 1e82a11d54..acfc0a3edf 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/weakset/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/weakset/index.html @@ -88,7 +88,7 @@ execRecursively(obj => console.log(obj), foo);</pre> <p>在此,在第一次运行时创建<code>WeakSet</code>,并将其与每个后续函数调用一起传递(使用内部参数_refs)。 对象的数量或它们的遍历顺序无关紧要,因此,WeakSet比{{jsxref("Set")}}更适合(和执行)跟踪对象引用,尤其是在涉及大量对象时。</p> -<h2 id="Properties" name="Properties">属性</h2> +<h2 id="Properties">属性</h2> <dl> <dt><code>WeakSet.length</code></dt> @@ -97,7 +97,7 @@ execRecursively(obj => console.log(obj), foo);</pre> <dd>表示<code>WeakSet</code>构造函数的原型。 允许向所有<code>WeakSet</code>对象添加属性。</dd> </dl> -<h2 id="Boolean_instances" name="Boolean_instances"><code>WeakSet</code> 实例</h2> +<h2 id="Boolean_instances"><code>WeakSet</code> 实例</h2> <p>所有 <code>WeakSet</code> 实例都继承自 {{jsxref("WeakSet.prototype")}}.</p> |