Skip to content

Commit d76a207

Browse files
committed
implemented the createLookup function
1 parent 648ae28 commit d76a207

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sprint-2/implement/lookup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
function createLookup() {
2-
// implementation here
1+
function createLookup(countryCurrencyPairs) {
2+
return Object.fromEntries(countryCurrencyPairs);
33
}
44

55
module.exports = createLookup;

0 commit comments

Comments
 (0)