+ 1
Javascript Math.floor and Math.random!
what's the difference between Math.floor and Math.random ? I'm lost
2 odpowiedzi
+ 3
Math.random() <- This thing creates a random number between 0 and 1.
Math.floor(3.14) <- This thing is 3.
+ 1
aah now I get it . thanks :))