According to this post on the official V8 Javascript blog, the pseudo-random number generator (PRNG) that V8 Javascript uses in Math.random() is horribly flawed and getting replaced with something a ...
“This is a marvelous step” toward more efficient random number generation, says Rajarshi Roy, a physicist at the University of Maryland in College Park who was not involved in the work. Random number ...