Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_arrayShuffle.js 365B

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;