Skip to main content

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 StackBlitz