//Random Number Generator

JavaScript Math

Math.random() returns a random number between 0 (inclusive) and 1 (exclusive):