random between 2 number javascript code example
Example: angular random number between 1 and 10
function randomNumber(min, max) {
return Math.random() * (max - min) + min;
}
function randomNumber(min, max) {
return Math.random() * (max - min) + min;
}