Skip to content

Commit 6e2fb92

Browse files
committed
Remove unused baseArity.
1 parent 4f702e2 commit 6e2fb92

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

fp/_baseConvert.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,6 @@ function baseConvert(util, name, func, options) {
6767

6868
var aryMethodKeys = keys(mapping.aryMethod);
6969

70-
var baseArity = function(func, n) {
71-
return n == 2
72-
? function(a, b) { return func.apply(undefined, arguments); }
73-
: function(a) { return func.apply(undefined, arguments); };
74-
};
75-
7670
var baseAry = function(func, n) {
7771
return n == 2
7872
? function(a, b) { return func(a, b); }
@@ -113,7 +107,9 @@ function baseConvert(util, name, func, options) {
113107

114108
var iterateeAry = function(func, n) {
115109
return overArg(func, function(func) {
116-
return typeof func == 'function' ? baseAry(func, n) : func;
110+
return typeof func == 'function'
111+
? baseAry(func, n)
112+
: func;
117113
});
118114
};
119115

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy