Update _.times doc example to not duplicate _.stubTrue. [ci skip]

This commit is contained in:
John-David Dalton
2016-05-12 16:29:16 -07:00
parent 6d02a64c47
commit 2f20c672e0

View File

@@ -15327,8 +15327,8 @@
* _.times(3, String);
* // => ['0', '1', '2']
*
* _.times(4, _.constant(true));
* // => [true, true, true, true]
* _.times(4, _.constant(0));
* // => [0, 0, 0, 0]
*/
function times(n, iteratee) {
n = toInteger(n);