4 lines
122 B
TypeScript
Raw Permalink Normal View History

2024-04-03 22:31:50 +04:00
export function getRandomNumber(min: number, max: number) {
return Math.floor(Math.random() * (max - min + 1) + min);
}