Created
January 29, 2020 14:42
-
-
Save motsu0/bb68acc8d09c4ac0ac2756259ef7985c to your computer and use it in GitHub Desktop.
generate ramdom bool (true or false)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const bool = Math.random()<0.5; //bool=true or bool=false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment