DEV Community

Discussion on: How do you do random?

Collapse
 
larsklopstra profile image
Lars Klopstra ⚡

Math.random() * 10 | 0;