4 lines
86 B
JavaScript
4 lines
86 B
JavaScript
export function randInRange (min, max) {
|
|
return Math.random() * (max - min) + min
|
|
}
|