1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-24 11:16:27 +02:00
Files
csslayout/utils/random.ts
2021-09-27 21:31:54 +07:00

2 lines
99 B
TypeScript

export const random = (min: number, max: number) => min + Math.round(Math.random() * (max - min));