setup-maven-cached/node_modules/underscore/amd/shuffle.js

11 lines
157 B
JavaScript
Raw Normal View History

2022-06-28 16:39:30 +08:00
define(['./sample'], function (sample) {
// Shuffle a collection.
function shuffle(obj) {
return sample(obj, Infinity);
}
return shuffle;
});