lbry-desktop/ui/util/shuffle-array.js

4 lines
82 B
JavaScript
Raw Permalink Normal View History

2019-05-06 04:23:28 +02:00
export function shuffleArray(array) {
return Math.round(Math.random()) - 0.5;
}