3 lines
76 B
CoffeeScript
3 lines
76 B
CoffeeScript
|
|
array = [1,2,3]
|
||
|
|
console.log array[Math.floor(Math.random() * array.length)]
|