Hacker News new | ask | show | jobs
by lern_too_spel 1627 days ago
There's a built-in method for randomly selecting an int in a range. Use that.
1 comments

Are you thinking of the Lodash random() function? Or Crypto.getRandomValues()?