Search
The Math.random method returns a random number which is greater than or equal to 0 and less than 1.
Math.random
Let's look at an example: