Skip to content

Commit 76656bd

Browse files
committed
minor fixes
1 parent 8752573 commit 76656bd

File tree

1 file changed

+1
-1
lines changed
  • 1-js/05-data-types/09-keys-values-entries

1 file changed

+1
-1
lines changed

1-js/05-data-types/09-keys-values-entries/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ let prices = {
9191

9292
*!*
9393
let doublePrices = Object.fromEntries(
94-
// convert prices to array, map key/value pairs into another pair
94+
// convert prices to array, map each key/value pair into another pair
9595
// and then fromEntries gives back the object
9696
Object.entries(prices).map(entry => [entry[0], entry[1] * 2])
9797
);

0 commit comments

Comments
 (0)