Hi !
I don’t clearly understand Math.random() : what’s the point of having a method that returns any other number each time you log it in ? What’ s the use for it ?
Thanks for your answer and take care.

generating a random number is so useful. For example, there is RPS (rock paper scissor) project here on codecademy. Use random() (and some math) to generate a random computer choice.

In general, you will see that random number can useful to mimic random things like a coin flip.

1 Like

Aaaaah ! Thanks ! :smiley: