Bootstrap

This commit is contained in:
Imran Ismail
2019-09-05 02:34:58 +08:00
parent 77f35b3361
commit 99f65d1591
7544 changed files with 1780624 additions and 28 deletions

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

@@ -0,0 +1,15 @@
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;