Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Math
Math.floor(Math.random() * 10) + 1) returns a random integer between 1 and 10 (both included):