Skip to content

Commit 873e5f7

Browse files
authored
Merge pull request #1908 from kiniggit/map_set_grammar
grammar fix: a plain object
2 parents c9d84ac + ec77f84 commit 873e5f7

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
@@ -198,7 +198,7 @@ let prices = Object.fromEntries([
198198
alert(prices.orange); // 2
199199
```
200200
201-
We can use `Object.fromEntries` to get an plain object from `Map`.
201+
We can use `Object.fromEntries` to get a plain object from `Map`.
202202
203203
E.g. we store the data in a `Map`, but we need to pass it to a 3rd-party code that expects a plain object.
204204

0 commit comments

Comments
 (0)