Generate a random number that lies between the provided min and max.
const num = rand(0, 10); // 0 >= num <= 10 Copy
const num = rand(0, 10); // 0 >= num <= 10
Generate a random number that lies between the provided min and max.
Usage