Make iteraeeAry pass thru non-functions. [closes #2007]

This commit is contained in:
John-David Dalton
2016-02-16 07:46:54 -08:00
parent 7b2274cb44
commit c94b1488e9

View File

@@ -113,7 +113,7 @@ function baseConvert(util, name, func, options) {
var iterateeAry = function(func, n) {
return overArg(func, function(func) {
return baseAry(func, n);
return typeof func == 'function' ? baseAry(func, n) : func;
});
};