Created
July 26, 2022 21:15
-
-
Save 3200pro/53410debe461769db70cd7cbcef6a768 to your computer and use it in GitHub Desktop.
randomly arrange arrays
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const shuffle = arr => arr.sort(() => Math.random() > 0.5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment