pepe = ['uno','dos','tres','cuatro'] num = Math.round(Math.random() * (pepe.length-1)); alert(pepe[num]);