Skip to main content

javascript random number

2023


How to code a Javascript Random Number Generator

·2 mins
Generating random numbers in JavaScript is easy once you understand how the built-in function to do this works but a lot of developers tend to write repetitive code rather than creating their own random number function which can be re-used.
How to code a Javascript Random Number Generator