mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Apply arrow function transform.
This commit is contained in:
@@ -12,7 +12,7 @@ import baseForOwn from './_baseForOwn.js';
|
||||
* @returns {Function} Returns `accumulator`.
|
||||
*/
|
||||
function baseInverter(object, setter, iteratee, accumulator) {
|
||||
baseForOwn(object, function(value, key, object) {
|
||||
baseForOwn(object, (value, key, object) => {
|
||||
setter(accumulator, iteratee(value), key, object);
|
||||
});
|
||||
return accumulator;
|
||||
|
||||
Reference in New Issue
Block a user