mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
Apply arrow function transform.
This commit is contained in:
@@ -9,7 +9,7 @@ import isArrayLike from './isArrayLike.js';
|
||||
* @returns {Function} Returns the new base function.
|
||||
*/
|
||||
function createBaseEach(eachFunc, fromRight) {
|
||||
return function(collection, iteratee) {
|
||||
return (collection, iteratee) => {
|
||||
if (collection == null) {
|
||||
return collection;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user