Where can I use the Math.Random() in javascript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Where can I use the Math.Random() in javascript

Math https://code.sololearn.com/Wgh0XooZlne8/?ref=app

8th Aug 2020, 12:23 PM
Trust Akalonu
Trust Akalonu - avatar
3 Answers
+ 1
Check this it is totaly based on math.random() https://code.sololearn.com/WRMr4ln7GzBZ/?ref=app
8th Aug 2020, 1:50 PM
Divya Mohan
Divya Mohan - avatar
+ 1
if you need some random numbers, eg if you simulate the dealing of cards, or generate unknown land in some game.
8th Aug 2020, 1:54 PM
zemiak
+ 1
If you don't know what numbers you're taking for today's lottery drawing. By the way, with a big jackpot. https://code.sololearn.com/cs99aUiA7YUD/?ref=app
8th Aug 2020, 2:05 PM
JaScript
JaScript - avatar