From 00bae752d0f456592c86bcec556829b1a964dfe6 Mon Sep 17 00:00:00 2001 From: MaxPRafferty Date: Fri, 21 Aug 2015 14:49:03 -0400 Subject: [PATCH] Add item to `_.fill` example. [ci skip] While not the minimum example required to show the fill functionality, having the fill write more than one value better fits the purpose of the function in practice. --- lodash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lodash.js b/lodash.js index 28e657e71..103f7affc 100644 --- a/lodash.js +++ b/lodash.js @@ -4493,8 +4493,8 @@ * _.fill(Array(3), 2); * // => [2, 2, 2] * - * _.fill([4, 6, 8], '*', 1, 2); - * // => [4, '*', 8] + * _.fill([4, 6, 8, 10], '*', 1, 3); + * // => [4, '*', '*', 10] */ function fill(array, value, start, end) { var length = array ? array.length : 0;