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