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