The function random will return a random number within a range. The function takes in two parameters. The first number in the range, and the final number in the range.
-var random = random(1,100)
+ var x = random(1,100)
//sets variable 'random' to a random number between 1 and 100
See Further: