how to get a random number between 1 and 10 in 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;
}