Skip to content

Commit fc8efbf

Browse files
committed
closes #1909
1 parent 873e5f7 commit fc8efbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/07-map-set/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ let obj = Object.fromEntries(map.entries()); // make a plain object (*)
220220
alert(obj.orange); // 2
221221
```
222222
223-
A call to `map.entries()` returns an array of key/value pairs, exactly in the right format for `Object.fromEntries`.
223+
A call to `map.entries()` returns an iterable of key/value pairs, exactly in the right format for `Object.fromEntries`.
224224
225225
We could also make line `(*)` shorter:
226226
```js

0 commit comments

Comments
 (0)