Entier aléatoire 1-10

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