Files
NapCatQQ/.pnpm-store/v3/files/68/b4e755ddd252fa737433ed9399154123ebe967933d2d75ef9ed2cd09f233727f30d91f8521b951c0ccfbbeeb98d4b89adeea53589379808a479007d264180d
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

16 lines
365 B
Plaintext

var copyArray = require('./_copyArray'),
shuffleSelf = require('./_shuffleSelf');
/**
* A specialized version of `_.shuffle` for arrays.
*
* @private
* @param {Array} array The array to shuffle.
* @returns {Array} Returns the new shuffled array.
*/
function arrayShuffle(array) {
return shuffleSelf(copyArray(array));
}
module.exports = arrayShuffle;