Oddbean new post about | logout
 How many times do you need to call `Math.random()` to get a collision? (Firefox will tell you, Chrome may not!)

https://gist.github.com/Juraj-Masiar/c85f708f187c2e7db911da08e0e8c20a

Discussions: https://discu.eu/q/https://gist.github.com/Juraj-Masiar/c85f708f187c2e7db911da08e0e8c20a

#programming