mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Apply arrow function transform.
This commit is contained in:
@@ -17,9 +17,7 @@ function baseWrapperValue(value, actions) {
|
||||
if (result instanceof LazyWrapper) {
|
||||
result = result.value();
|
||||
}
|
||||
return arrayReduce(actions, function(result, action) {
|
||||
return action.func.apply(action.thisArg, arrayPush([result], action.args));
|
||||
}, result);
|
||||
return arrayReduce(actions, (result, action) => action.func.apply(action.thisArg, arrayPush([result], action.args)), result);
|
||||
}
|
||||
|
||||
export default baseWrapperValue;
|
||||
|
||||
Reference in New Issue
Block a user