Function randInt

Generates a random integer between two values.

  • Parameters

    • valueA: number

      The lower bound.

    • valueB: number = 0

      The upper bound.

    Returns number

    The random integer generated.