Deprecated
This API has been deprecated! Use randint instead.
Return a pseudo-random value within a range of numbers.
Math.randomRange(0, 10)
Deprecated
This API has been deprecated! Use randint instead.
Returns a pseudo-random number in the range [min, max]; that is, from 0 (inclusive) up to including 1 (inclusive), which you can then scale to your desired range.
min (inclusive) and max (inclusive).Generate a random number between 0 and 100.
let centoRandom = Math.randomRange(0, 100);