3 lines
91 B
JavaScript
3 lines
91 B
JavaScript
module.exports = (min, max) => {
|
|
return Math.round(Math.random() * (max - min)) + min
|
|
} |