The main ones:
(random() >= 0)
always true
(random() < 1)
always true
(Math.floor(random()) == 0)
always true
Maximum:
(Math.floor(random() * 10) >= 0)
always true
(Math.floor(random() * 10) < 10)
always true
Minimum:
(Math.floor(random() * 10) + 1 >= 1)
always true
(Math.floor(random() * 10) + 1 < 11)
always true
Max. round:
(Math.round(random() * 10, 0) >= 0)
always true
(Math.round(random() * 10, 0) <= 10)
always true
source share