mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
Bump to v3.10.0.
This commit is contained in:
@@ -25,10 +25,10 @@ var nativeMax = Math.max;
|
||||
*/
|
||||
function ary(func, n, guard) {
|
||||
if (guard && isIterateeCall(func, n, guard)) {
|
||||
n = null;
|
||||
n = undefined;
|
||||
}
|
||||
n = (func && n == null) ? func.length : nativeMax(+n || 0, 0);
|
||||
return createWrapper(func, ARY_FLAG, null, null, null, null, n);
|
||||
return createWrapper(func, ARY_FLAG, undefined, undefined, undefined, undefined, n);
|
||||
}
|
||||
|
||||
export default ary;
|
||||
|
||||
Reference in New Issue
Block a user