Last active
July 27, 2022 07:49
-
-
Save pavelbinar/6333285 to your computer and use it in GitHub Desktop.
JavaScript: Random Boolean
This file contains hidden or 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
/* Random Boolean */ | |
var randomNumber = Math.random() >= 0.5; | |
console.log(randomNumber); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wow awesome!