+ 5
Is JS "random()" actually random?
I am seeing suggestions that its pseudo-random. Don't even know what that means..
2 Antworten
+ 17
It is not truly random.
As far as i know, every browser have their own method to manage the "randomizer", for example Firefox use the local time to generate a random number from 0 and 1. :)
Atmospheric noises and Cosmic radiations can also be used to generate truly random numbers - https://math.stackexchange.com/questions/2056780/is-it-possible-to-generate-truly-random-numbers-using-a-computer