math.random javascript number between 0-1 code example Example: javascript generate random number Math.random();