+ 1
What is use of math.random() ?
3 ответов
+ 1
Math.random() returns a (pseudo)random number between 0 and 0.999999999... Some encryption programs use random numbers, you'd use a random number if you were writing a program to simulate tossing a coin or throwing dice. Random numbers are useful in statistics, and so on.
0
choose a number between 0 - 1.
0
it is use for get the random value