-
Hmm.
npm i array-shuffleornpm i shuffle-array. So much choice… That said, neither do what I actually want to do… -
It's simple rem:
.sort(() => Math.random() - 0.5)
npm i array-shuffle or npm i shuffle-array. So much choice…
That said, neither do what I actually want to do….sort(() => Math.random() - 0.5)