API Reference

Returns a random number within a given range.

function randomNumber(min: number, max: number)

// Example:

randomNumber(1, 100) //=> 39

randomNumber(1, 10) //=> 6