Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
Math.random() returns a random number between 0 and 1.
Try it