6 lines
127 B
JavaScript
6 lines
127 B
JavaScript
|
function randomNumber(min, max) {
|
||
|
return Math.floor(Math.random() * (max - min) + min);
|
||
|
}
|
||
|
|
||
|
module.exports = {randomNumber}
|