• Generate a random value between 0 and maxValue, max value should be limited to a 32-bit maximum. So maxValue(16) will produce a number from 0..16 (range of 17)

    Parameters

    • maxValue: number

      The max value for the range

    Returns number