Init commit
This commit is contained in:
4
packages/core-utils/src/common/random.ts
Normal file
4
packages/core-utils/src/common/random.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// high excluded
|
||||
export function randomInt (low: number, high: number) {
|
||||
return Math.floor(Math.random() * (high - low) + low)
|
||||
}
|
||||
Reference in New Issue
Block a user