What actually Math.random do?

What actually Math.random do?
0

#1

what actually Math.random do?i cant get it


#2

Rolls a very large di©e and stretches the result to be in the 0,1 interval.
More correctly, it uses a pseudorandom generator, a mathematical function that returns pretty ok numbers that look uncorrelated.