Files

3 lines
113 B
TypeScript

export function randomRange(min:number, max:number) {
return Math.round(Math.random() * (max - min) + min);
}