This commit is contained in:
parent
9cf8f73e18
commit
5cc94805f1
17 changed files with 670 additions and 237 deletions
3
src/utils/random-between.ts
Normal file
3
src/utils/random-between.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
export const randomBetween = (min: number, max: number) => {
|
||||
return Math.random() * (max - min) + min;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue