4 lines
122 B
TypeScript
4 lines
122 B
TypeScript
export function getRandomNumber(min: number, max: number) {
|
|
return Math.floor(Math.random() * (max - min + 1) + min);
|
|
}
|