Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Fun, too! I just spent a nice few minutes in the Chrome debug console brute forcing it.


I suck at stats but isn't the expected value of Math.random E=0.5? Which makes the result Ex11x2 = 11?

EDIT: I do suck. The expected value of Math.random*11 is 5.5, which floors to 5. Thus the total is 10.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: