Last updated 3 years ago
Was this helpful?
๐ฐ JS โฉ Types โฉ String โฉ methods
/** * โญ๏ธ shuffleString() * shuffle string * @param str [string] string to shuffle */ export function shuffleString(str){ return shuffle(str.split('')).join('');
randomInt()
array.shuffle()
DEV โฉ How to shuffle an array in JavaScript