Remove MAX_ARRAY_LENGTH use in arrayShuffle and baseShuffle.

This commit is contained in:
John-David Dalton
2016-09-25 00:45:10 -07:00
parent c8c6a7e7b1
commit d9e2c1cc34

View File

@@ -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));
}
/**