randomInt
Generates a random integer within a specified range.
Parameters
Parameter | Type | Optional | Default | Description |
---|
min | number | false | | The lower bound of the range. This value is inclusive. |
max | number | false | | The upper bound of the range. This value is exclusive. |
Returns
number
Example