Edit & Run »
Math.random() returns a random number between 0 and 1.
Try it