var array = [1,2,3]; return array[Math.floor(Math.random() * array.length)];