aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/object/getownpropertysymbols
diff options
context:
space:
mode:
authorIrvin <irvinfly@gmail.com>2022-02-16 02:14:18 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commitd44f5032d0f53256b2d5aef505d6b593fd3cd158 (patch)
tree4b585f4be9c9a2712664ad10e7acf62c83fff51f /files/zh-cn/web/javascript/reference/global_objects/object/getownpropertysymbols
parentf45e9e070c93ebbd83d488bdd775987a4d75c201 (diff)
downloadtranslated-content-d44f5032d0f53256b2d5aef505d6b593fd3cd158.tar.gz
translated-content-d44f5032d0f53256b2d5aef505d6b593fd3cd158.tar.bz2
translated-content-d44f5032d0f53256b2d5aef505d6b593fd3cd158.zip
fix yari h2m dry run errors (zh-CN)
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/object/getownpropertysymbols')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/object/getownpropertysymbols/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/object/getownpropertysymbols/index.html b/files/zh-cn/web/javascript/reference/global_objects/object/getownpropertysymbols/index.html
index f763ec6856..ef1b0ba509 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/object/getownpropertysymbols/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/object/getownpropertysymbols/index.html
@@ -21,12 +21,12 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertySym
<dl>
<dt><code>obj</code></dt>
<dd>要返回 Symbol 属性的对象。</dd>
- <dt>
- <h3 id="返回值">返回值</h3>
- </dt>
- <dd>在给定对象自身上找到的所有 Symbol 属性的数组。</dd>
</dl>
+<h3 id="返回值">返回值</h3>
+
+<p>在给定对象自身上找到的所有 Symbol 属性的数组。</p>
+
<h2 id="Description">描述</h2>
<p>与{{jsxref("Object.getOwnPropertyNames()")}}类似,您可以将给定对象的所有符号属性作为 Symbol 数组获取。 请注意,{{jsxref("Object.getOwnPropertyNames()")}}本身不包含对象的 Symbol 属性,只包含字符串属性。</p>