We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 873e5f7 commit fc8efbfCopy full SHA for fc8efbf
1-js/05-data-types/07-map-set/article.md
@@ -220,7 +220,7 @@ let obj = Object.fromEntries(map.entries()); // make a plain object (*)
220
alert(obj.orange); // 2
221
```
222
223
-A call to `map.entries()` returns an array of key/value pairs, exactly in the right format for `Object.fromEntries`.
+A call to `map.entries()` returns an iterable of key/value pairs, exactly in the right format for `Object.fromEntries`.
224
225
We could also make line `(*)` shorter:
226
```js
0 commit comments