This commit is contained in:
Stephen Franceschelli
2019-07-15 13:24:14 -04:00
parent e3283467a1
commit 9ea2679ca7
7043 changed files with 0 additions and 1866383 deletions

15
node_modules/lodash/_arraySample.js generated vendored
View File

@@ -1,15 +0,0 @@
var baseRandom = require('./_baseRandom');
/**
* A specialized version of `_.sample` for arrays.
*
* @private
* @param {Array} array The array to sample.
* @returns {*} Returns the random element.
*/
function arraySample(array) {
var length = array.length;
return length ? array[baseRandom(0, length - 1)] : undefined;
}
module.exports = arraySample;