Modificare il codice:
Vedi Risultato »
Prova tu stesso - ©
w3ii.com
Math.random() returns a random number between 0 and 1.
Try it