UNPKG

just-animate

Version:
4 lines (3 loc) 101 B
export function shuffle(choices) { return choices[Math.floor(Math.random() * choices.length)]; }