random array from specific value javascript code example
Example: get random entry from array javascript
const rnd = (arr) => { return arr[Math.floor(Math.random() * arr.length)] };
const rnd = (arr) => { return arr[Math.floor(Math.random() * arr.length)] };