Answers for "how to get random index javasript"

3

get random entry from array javascript

const rnd = (arr) => { return arr[Math.floor(Math.random() * arr.length)] };
Posted by: Guest on January-12-2021

Code answers related to "how to get random index javasript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language