Files
starface-outlook-sync-addin/node_modules/lodash/_baseShuffle.js
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

16 lines
371 B
JavaScript

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;