Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript random boolean

var random_boolean = Math.random() < 0.5;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #random #boolean
ADD COMMENT
Topic
Name
1+2 =