public static native randInt(min as Int, max as Int) as Int
Returns a random integer in [min, max].
A random integer between min and max (inclusive).
min
max
value = Random.randInt(1, 6) print(value)