0

How to random in javascript no repeat integer?

The result must be integer and no repeat

7th Oct 2016, 10:22 AM
DK-deadAnzle
DK-deadAnzle - avatar
2 Antworten
+ 2
you can convert the value by int() function and use an array with recent values to check and decide to repeat random function or use its value
16th Oct 2016, 5:32 PM
Hussein Hallafi
Hussein Hallafi - avatar
0
Yeah but how?
17th Oct 2016, 3:25 AM
DK-deadAnzle
DK-deadAnzle - avatar