4 ms·45 Useful JavaScript Tips, Tricks and Best Practices7 points by ekpyrotic 13y agoserichsen 13y ago12. No! That is not a good shuffle. Search for "javascript shuffle" to find a correct Fisher-Yates implementation.