3 lines
No EOL
108 B
JavaScript
3 lines
No EOL
108 B
JavaScript
function random_number(first, last) {
|
|
return Math.floor((Math.random() * (last - first + 1))) + first;
|
|
} |