Echo JS 0.11.0

<~>

tracker1 998 days ago. link 1 point
Or..

let array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];

array.sort((a, b) => Math.round(Math.random()) || -1)

console.log(array)