Apply arrow function transform.

This commit is contained in:
John-David Dalton
2017-01-06 15:41:39 -08:00
parent d461c87979
commit 7167d7e09f
108 changed files with 172 additions and 271 deletions

View File

@@ -41,7 +41,7 @@ var nativeMin = Math.min;
* func(10, 5);
* // => [100, 10]
*/
var overArgs = castRest(function(func, transforms) {
var overArgs = castRest((func, transforms) => {
transforms = (transforms.length == 1 && isArray(transforms[0]))
? arrayMap(transforms[0], baseUnary(baseIteratee))
: arrayMap(baseFlatten(transforms, 1), baseUnary(baseIteratee));