Description...
The Utilities.get_random_integer() function returns a pseudo-random integer number in the range [min, max] or [min, max), depending on its arguments.
Utilities.get_random_integer(min, max, mode)
A number.
Minimum value of the range from which the random integer is returned. Minimum value is always included in the range. Defaults to 0 if no value is given.
A number.
Maximum value the range from which the random integer is returned. Maximum value is included in the range in inclusive mode, but excluded in exclusive mode. Defaults to 1 if no value is given.
A string. Either "inclusive" or "exclusive". Defines whether to include or exclude maximum value from the range from which an integer is returned.
Utilities.get_random_integer(); // 0 - 1
Utilities.get_random_integer(0, 5); // 0 - 5
Utilities.get_random_integer(0, 5, "exclusive") // 0 - 4