Updated node_mobules from what huskey wants to do

This commit is contained in:
Timothy Clem
2019-09-30 10:02:47 -07:00
parent a7a93607c6
commit caa2e9e5b6
7412 changed files with 26 additions and 1868293 deletions

View File

@@ -1,17 +0,0 @@
var baseClamp = require('./_baseClamp'),
copyArray = require('./_copyArray'),
shuffleSelf = require('./_shuffleSelf');
/**
* A specialized version of `_.sampleSize` for arrays.
*
* @private
* @param {Array} array The array to sample.
* @param {number} n The number of elements to sample.
* @returns {Array} Returns the random elements.
*/
function arraySampleSize(array, n) {
return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));
}
module.exports = arraySampleSize;