source: frontend/node_modules/lodash/_baseShuffle.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 371 bytes
Line 
1var shuffleSelf = require('./_shuffleSelf'),
2 values = require('./values');
3
4/**
5 * The base implementation of `_.shuffle`.
6 *
7 * @private
8 * @param {Array|Object} collection The collection to shuffle.
9 * @returns {Array} Returns the new shuffled array.
10 */
11function baseShuffle(collection) {
12 return shuffleSelf(values(collection));
13}
14
15module.exports = baseShuffle;
Note: See TracBrowser for help on using the repository browser.