0
Why isn't output random number?
2 Respostas
+ 3
Тимур Завьялов try this instead
function random (min,max)
{
document.write(Math.random() * (max-min) + min);
}
random (5,10)
+ 2
return just returns the value to the function call ,to actually write it to browser use document.write or console.log to log it out