From http://www.w3schools.com (Copyright Refsnes Data)
JavaScript Math Object
The random() method returns a random number between 0 and 1.
| Math.random() |
ExampleReturn a random number between 0 and 1:
The output of the code above can be: Try it yourself » |
JavaScript Math Object
From http://www.w3schools.com (Copyright Refsnes Data)