+ 1
Who knows the code that specifies random numbers?
plz.
3 odpowiedzi
+ 2
1.Math.floor(Math.random()*5)
2.~~(Math.random()*5) (flip bit two times)
3.Math.random()*5|0
+ 2
Some little example
https://code.sololearn.com/WcYpoMhTU6Bu/?ref=app
0
Thanks