aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/map/set/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/map/set/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/map/set/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/map/set/index.html b/files/zh-cn/web/javascript/reference/global_objects/map/set/index.html
index d4fd287926..701fd336f0 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/map/set/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/map/set/index.html
@@ -12,7 +12,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Map/set
original_slug: Web/JavaScript/Reference/Global_Objects/Map/set
browser-compat: javascript.builtins.Map.set
---
-<p id="sect1">{{JSRef}}</p>
+<p>{{JSRef}}</p>
<p><code><strong>set()</strong></code> 方法为 <code>Map</code> 对象添加或更新一个指定了键(<code>key</code>)和值(<code>value</code>)的(新)键值对。</p>