"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=mapValue;var_objectEntries3=_interopRequireDefault(require("../polyfills/objectEntries"));function_interopRequireDefault(obj){returnobj&&obj.__esModule?obj:{default:obj};}/** * Creates an object map with the same keys as `map` and values generated by * running each value of `map` thru `fn`. */functionmapValue(map,fn){varresult=Object.create(null);for(var_i2=0,_objectEntries2=(0,_objectEntries3.default)(map);_i2<_objectEntries2.length;_i2++){var_ref2=_objectEntries2[_i2];var_key=_ref2[0];var_value=_ref2[1];result[_key]=fn(_value,_key);}returnresult;}