Function randomInt

Returns a random integer number between the given minimum and maximum values.

  • Parameters

    • min: number

      min value

    • max: number

      max value

    Returns number

    the random int value