1
2
3
export const randomIn = (min, max) => {
return Math.floor(min + Math.random() * (max - min + 1));
};