Entero aleatorio 1-10

var random = Math.floor(Math.random() * 10) + 1;
digimax