Skip to content

Commit b9f1413

Browse files
committed
docs(set-map): edit Map
1 parent b9bd59d commit b9f1413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/set-map.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ items.forEach(
467467
);
468468
```
469469

470-
事实上,不仅仅是数组,任何具有 Iterator 接口的数据结构(详见《Iterator》一章)都可以当作`Map`构造函数的参数。这就是说,`Set``Map`都可以用来生成新的 Map。
470+
事实上,不仅仅是数组,任何具有 Iterator 接口、且每个成员都是一个双元素的数组的数据结构(详见《Iterator》一章)都可以当作`Map`构造函数的参数。这就是说,`Set``Map`都可以用来生成新的 Map。
471471

472472
```javascript
473473
const set = new Set([

0 commit comments

Comments
 (0)