Edit It: Use the Fisher-Yates Algorithm to shuffle an array of items
This code shows how to use the Fisher-Yates Algorithm in JavaScript to shuffle an array of items.
See it on StackBlitzThis code shows how to use the Fisher-Yates Algorithm in JavaScript to shuffle an array of items.
See it on StackBlitz