2 ms·
There's a built-in method for randomly selecting an int in a range. Use that.
by lern_too_spel 5y ago
There's a built-in method for randomly selecting an int in a range. Use that.
- csears 5y agoAre you thinking of the Lodash random() function? Or Crypto.getRandomValues()?
- lern_too_spel 5y agohttps://docs.oracle.com/javase/8/docs/api/java/util/Random.html#nextInt-int- https://docs.oracle.com/javase/8/docs/api/java/util/Random.h...