RsD0p9BK
12/8/2015 - 9:32 AM

random.js

// JavaScript random() Method
// Return a random number between 1 and 10:

Math.floor((Math.random() * 10) + 1);

// http://www.w3schools.com/jsref/jsref_random.asp