mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 19:37:49 +00:00
Remove references to _.
This commit is contained in:
5
times.js
5
times.js
@@ -16,17 +16,16 @@ const nativeMin = Math.min;
|
||||
*
|
||||
* @static
|
||||
* @since 0.1.0
|
||||
* @memberOf _
|
||||
* @category Util
|
||||
* @param {number} n The number of times to invoke `iteratee`.
|
||||
* @param {Function} iteratee The function invoked per iteration.
|
||||
* @returns {Array} Returns the array of results.
|
||||
* @example
|
||||
*
|
||||
* _.times(3, String);
|
||||
* times(3, String);
|
||||
* // => ['0', '1', '2']
|
||||
*
|
||||
* _.times(4, _.constant(0));
|
||||
* times(4, constant(0));
|
||||
* // => [0, 0, 0, 0]
|
||||
*/
|
||||
function times(n, iteratee) {
|
||||
|
||||
Reference in New Issue
Block a user