From d9e2c1cc347fe4e78860d56bd961520a1a1779f8 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 25 Sep 2016 00:45:10 -0700 Subject: [PATCH] Remove `MAX_ARRAY_LENGTH` use in `arrayShuffle` and `baseShuffle`. --- lodash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lodash.js b/lodash.js index b1b8f4b6e..7e81ec664 100644 --- a/lodash.js +++ b/lodash.js @@ -2430,7 +2430,7 @@ * @returns {Array} Returns the new shuffled array. */ function arrayShuffle(array) { - return shuffleSelf(copyArray(array), MAX_ARRAY_LENGTH); + return shuffleSelf(copyArray(array)); } /** @@ -4001,7 +4001,7 @@ * @returns {Array} Returns the new shuffled array. */ function baseShuffle(collection) { - return shuffleSelf(values(collection), MAX_ARRAY_LENGTH); + return shuffleSelf(values(collection)); } /**