+ 1

Who knows the code that specifies random numbers?

plz.

14th Aug 2017, 10:33 PM
Danil Petrov
Danil Petrov - avatar
3 odpowiedzi
+ 2
1.Math.floor(Math.random()*5) 2.~~(Math.random()*5) (flip bit two times) 3.Math.random()*5|0
15th Aug 2017, 12:02 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
15th Aug 2017, 12:10 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
0
Thanks
15th Aug 2017, 12:05 AM
Danil Petrov
Danil Petrov - avatar