Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let min = 10;
- let max = 20;
- let ranNum = Math.floor(Math.random() * (max - min + 1)) + min;
- console.log(ranNum);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement