12 ms·
For those who haven't picked up the error: Math.random() returns a value between 0 and 1, and the typecasting floors the value.
by rmccue 16y ago
For those who haven't picked up the error: Math.random() returns a value between 0 and 1, and the typecasting floors the value.