Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Returns a random integer between min (included) and max (excluded)
- function getRandomInt(min, max) {
- return Math.floor(Math.random() * (max - min)) + min;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement