github-actions[bot] a0f00e5017
Add node modules and new code for release (#168)
Co-authored-by: OliverMKing <OliverMKing@users.noreply.github.com>
2022-02-02 10:11:19 -05:00

9 lines
148 B
JavaScript

var sample = require('./sample.js');
// Shuffle a collection.
function shuffle(obj) {
return sample(obj, Infinity);
}
module.exports = shuffle;