Skip to content

Instantly share code, notes, and snippets.

Last active July 27, 2022 07:49
What would you like to do?
JavaScript: Random Boolean
/* Random Boolean */
var randomNumber = Math.random() >= 0.5;
Copy link

Wow awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment