From 6128c2eec31ad140b11b108b8e0ad9f75d438b73 Mon Sep 17 00:00:00 2001 From: Vincent Hy Date: Wed, 11 Sep 2019 14:02:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'WeaKSet'=20=E5=90=8D?= =?UTF-8?q?=E8=AF=8D=E6=8B=BC=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/set-map.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/set-map.md b/docs/set-map.md index 4680c8b..f22a875 100644 --- a/docs/set-map.md +++ b/docs/set-map.md @@ -354,7 +354,7 @@ const ws = new WeakSet(b); // Uncaught TypeError: Invalid value used in weak set(…) ``` -上面代码中,数组`b`的成员不是对象,加入 WeaKSet 就会报错。 +上面代码中,数组`b`的成员不是对象,加入 WeakSet 就会报错。 WeakSet 结构有以下三个方法。