• Get a random integer between 0 and max.

    Parameters

    • max: number

      The maximum value (inclusive).

    Returns number