randomNum
Callable
Parameters
optionalmin: number = 0
The lower bound of the range (default: 0).
optionalmax: number = ...
The upper bound of the range (default: Number.MAX_SAFE_INTEGER - 1).
Returns number
A random number within the specified range.
Generates a random number within a specified range.