random(min, max);
Get a random number
Arguments
min
The minimum of the rangemax
The maximum of the rangeReturns
number
The random valuerandom() -- random number between 0 and 1
random(3) -- random number between 0 and 3
random(3, 12) -- random number between 3 and 12
random({ 'A', 'B', 'C' }) -- random element in table