how to get a random int between two numbers in javascript code example Example: javascript generate random number Math.random();