Skip to content

Instantly share code, notes, and snippets.

@sethdavis512
Created May 14, 2019 03:07
Embed
What would you like to do?
const pickRandom = (arr) => arr[Math.floor(Math.random() * arr.length)];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment