DEV Community

loading...

Discussion on: How do you do random?

Collapse
jckuhl profile image
Jonathan Kuhl

It bothers me that JS has no decent random functions and I have to reach for this bizarre mathy statement to get a random integer from a range.

Really wish we had Python's random module.

I mean, it's not hard to implement, but it's inconvenient.