1 | ;
|
2 |
|
3 | exports.__esModule = true;
|
4 | var mapValues = function mapValues(obj, func) {
|
5 | var result = {};
|
6 | /* eslint-disable no-restricted-syntax */
|
7 | for (var key in obj) {
|
8 | if (obj.hasOwnProperty(key)) {
|
9 | result[key] = func(obj[key], key);
|
10 | }
|
11 | }
|
12 | /* eslint-enable no-restricted-syntax */
|
13 | return result;
|
14 | };
|
15 |
|
16 | exports.default = mapValues; |
\ | No newline at end of file |