2 * Returns a random integer within an interval inclusive of the min and max.
4 * Does not use a cryptographically-secure pseudorandom number generator
6 export default function randomIntFromInterval(
8 * The smallest value in the interval
12 * The largest value in the interval
17 max = Math.floor(max);
19 return Math.floor(Math.random() * (max - min + 1) + min);