Skip to content

Commit 7a6019b

Browse files
Troy WilliamsTroy Williams
authored andcommitted
comments
1 parent 46305ec commit 7a6019b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/callbacks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const removeDuplicates = (array, cb) => {
4242
obj[array[i]] = true;
4343
}
4444
}
45-
cb(resultArr);
45+
cb(resultArr);
4646
};
4747

4848
/* eslint-enable */

src/objects.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const mapObject = (obj, cb) => {
2020
};
2121

2222
const pairs = (obj) => {
23+
const pairsArr = [];
2324
const objkeys = Object.keys(obj);
2425
const objValues = Object.values(obj);
2526
for (let i = 0; i < objkeys.length; i++) {

0 commit comments

Comments
 (0)