madiator.com/ui/util/shuffle-array.js
2021-08-16 12:11:25 +02:00

3 lines
82 B
JavaScript

export function shuffleArray(array) {
return Math.round(Math.random()) - 0.5;
}