Urara-Blog/node_modules/.pnpm-store/v3/files/2d/7f19150382a69808914181917e60ce0bf865b0331a54e44d2dacdfa10d49d5c8f73e602ccad772f0c2c553422d0f7ba34481f702bb3404523c6d432a38ba0f
2022-08-14 01:14:53 +08:00

15 lines
371 B
Text

var shuffleSelf = require('./_shuffleSelf'),
values = require('./values');
/**
* The base implementation of `_.shuffle`.
*
* @private
* @param {Array|Object} collection The collection to shuffle.
* @returns {Array} Returns the new shuffled array.
*/
function baseShuffle(collection) {
return shuffleSelf(values(collection));
}
module.exports = baseShuffle;