math.random integers from 1 to 9 javascript code example Example: javascript random number Math.random() * 10 = 0-10