* Returns a random integer between min (inclusive) and max (inclusive)
(min, max)
| 77 | * Returns a random integer between min (inclusive) and max (inclusive) |
| 78 | */ |
| 79 | function getRandomInt(min, max) { |
| 80 | return Math.floor(Math.random() * (max - min + 1)) + min; |
| 81 | } |
| 82 | |
| 83 | new TesterSpout().run(); |