Skip to content

Commit b1c7edb

Browse files
committed
fixed indentation
1 parent d3e14ce commit b1c7edb

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

Sprint-2/implement/lookup.js

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
function createLookup(countryCurrencyPairs) {
2-
let lookup ={};
3-
for(let pair of countryCurrencyPairs){
4-
let key = pair[0];
5-
let value = pair[1];
6-
lookup[key] = value;
2+
let lookup = {};
3+
for (let pair of countryCurrencyPairs) {
4+
let key = pair[0];
5+
let value = pair[1];
6+
lookup[key] = value;
7+
}
8+
return lookup;
79
}
8-
return lookup;
9-
10-
11-
12-
}
13-
14-
1510

1611
module.exports = createLookup;

0 commit comments

Comments
 (0)