2 lines
77 B
JavaScript
2 lines
77 B
JavaScript
var array = [1,2,3];
|
|
return array[Math.floor(Math.random() * array.length)];
|