ran npm run tdd
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
module.exports = invertKeyValues = obj =>
|
||||
const invertKeyValues = obj =>
|
||||
Object.keys(obj).reduce((acc, key) => {
|
||||
acc[obj[key]] = key;
|
||||
return acc;
|
||||
}, {});
|
||||
}, {});
|
||||
module.exports = invertKeyValues
|
||||
Reference in New Issue
Block a user