2025-03-17 23:17:03 +13:00
|
|
|
class RandomUtils {
|
2025-11-17 06:10:08 +01:00
|
|
|
static getRandomInt(min, max) {
|
|
|
|
|
min = Math.ceil(min);
|
|
|
|
|
max = Math.floor(max);
|
|
|
|
|
return Math.floor(Math.random() * (max - min + 1)) + min;
|
|
|
|
|
}
|
2025-03-17 23:17:03 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default RandomUtils;
|