11 lines
178 B
JavaScript
11 lines
178 B
JavaScript
'use strict';
|
|
module.exports = object => {
|
|
const result = {};
|
|
|
|
for (const [key, value] of Object.entries(object)) {
|
|
result[key.toLowerCase()] = value;
|
|
}
|
|
|
|
return result;
|
|
};
|