b4e755ddd252fa737433ed9399154123ebe967933d2d75ef9ed2cd09f233727f30d91f8521b951c0ccfbbeeb98d4b89adeea53589379808a479007d264180d 365 B

123456789101112131415
  1. var copyArray = require('./_copyArray'),
  2. shuffleSelf = require('./_shuffleSelf');
  3. /**
  4. * A specialized version of `_.shuffle` for arrays.
  5. *
  6. * @private
  7. * @param {Array} array The array to shuffle.
  8. * @returns {Array} Returns the new shuffled array.
  9. */
  10. function arrayShuffle(array) {
  11. return shuffleSelf(copyArray(array));
  12. }
  13. module.exports = arrayShuffle;