1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-23 02:36:11 +02:00
Files
csslayout/client/helpers/random.ts
2019-11-24 23:36:43 +07:00

4 lines
116 B
TypeScript

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