return a weighted random between min, max (exclusive)
minimum value.
maximum value.
random value
// Print a random number; one of 5, 6, 7, 8, 9console.log(math.weightedRandom(5, 10) ); Copy
// Print a random number; one of 5, 6, 7, 8, 9console.log(math.weightedRandom(5, 10) );
return a weighted random between min, max (exclusive)