Cómo obtener al azar no. sin función math.random ()
// Generate a number between 0 and 10, including 10
function generateRandomInteger(max) {
return Math.floor(Math.random() * max) + 1;
}
var value4 = generateRandomInteger( enter a max value );
Rich Ray