Bump to v4.7.0.

This commit is contained in:
John-David Dalton
2016-03-26 00:00:36 -07:00
parent a83b4ebd53
commit ce0b51888c
394 changed files with 1789 additions and 841 deletions

View File

@@ -1,4 +1,4 @@
import baseCastFunction from './_baseCastFunction';
import baseIteratee from './_baseIteratee';
import baseTimes from './_baseTimes';
import toInteger from './toInteger';
@@ -16,6 +16,7 @@ var nativeMin = Math.min;
* each invocation. The iteratee is invoked with one argument; (index).
*
* @static
* @since 0.1.0
* @memberOf _
* @category Util
* @param {number} n The number of times to invoke `iteratee`.
@@ -37,7 +38,7 @@ function times(n, iteratee) {
var index = MAX_ARRAY_LENGTH,
length = nativeMin(n, MAX_ARRAY_LENGTH);
iteratee = baseCastFunction(iteratee);
iteratee = baseIteratee(iteratee);
n -= MAX_ARRAY_LENGTH;
var result = baseTimes(length, iteratee);