random int between 2 values js 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;
}