math.random
Example
Generate a random number between 1 and 400 with both math.random and math.Rand.
Output: 317
1.0162317198768
Example
Select a random key from a table, where the keys have a different probability of being selected.
Output: Banana
Grape
Banana
Orange
Orange