50
rated 0 times
[
56]
[
6]
/ answers: 1 / hits: 16009
/ 11 Years ago, thu, august 22, 2013, 12:00:00
How can you generate a new random number every given second using Math.random()
? I have tried putting it in a function and return Math.random
but it return the same thing every time. Is there an efficient way to do this in short amount of code?
-thanks
More From » math