3 lines
110 B
TypeScript
3 lines
110 B
TypeScript
export const randomInt = (low: number, high: number) =>
|
|
Math.floor(Math.random() * (high - low + 1) + low);
|