1// How to generate a random number between specific values:
2
3// Math.floor() rounds its argument down to the nearest whole number.
4//Math.random() generates a float value between 0 and 0.999999999999999999999999
5
6var highnum = 10 //Type your highest number here.
7var lownum = 1 //Type your lowest number here.
8
9var randomnumber = Math.floor(Math.random()*highnum + lownum)