Random array using the modern Fisher–Yates shuffle algorithm in JavaScript: damianwajer.com/blog/random-ar…
Random array using the modern Fisher–Yates shuffle algorithm in JavaScript - Damian Wajer
How to make sure the randomness is really random. It might be tempting to use just Math.random() but it will not produce fair results. The Fisher–Yates shuffle algorithm…Damian Wajer