UNPKG

redux

Version:

Atomic Flux with hot reloading

13 lines (10 loc) 268 B
"use strict"; exports.__esModule = true; exports["default"] = mapValues; function mapValues(obj, fn) { return Object.keys(obj).reduce(function (result, key) { result[key] = fn(obj[key], key); return result; }, {}); } module.exports = exports["default"];