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

For those who haven't picked up the error: Math.random() returns a value between 0 and 1, and the typecasting floors the value.


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

Search: