Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Random Boolean

const randomBool = () => Math.random() >= 0.5;

randomBool() //true
Source by devdojo.com #
 
PREVIOUS NEXT
Tagged: #Random #Boolean
ADD COMMENT
Topic
Name
2+2 =