1 line
No EOL
70 B
JavaScript
1 line
No EOL
70 B
JavaScript
const randomElement = array[Math.floor(Math.random() * array.length)]; |