* The base implementation of `_.times` without support for iteratee shorthands * or max array length checks. * * @private * @param {number} n The number of times to invoke `iteratee`. * @param {Function} iteratee The function invoked per iteration. * @returns {Array} Returns the ar
(n, iteratee)
| 984 | * @returns {Array} Returns the array of results. |
| 985 | */ |
| 986 | function baseTimes(n, iteratee) { |
| 987 | var index = -1, |
| 988 | result = Array(n); |
| 989 | |
| 990 | while (++index < n) { |
| 991 | result[index] = iteratee(index); |
| 992 | } |
| 993 | return result; |
| 994 | } |
| 995 | |
| 996 | /** |
| 997 | * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array |
no test coverage detected