Skip to content

Instantly share code, notes, and snippets.

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

Wow awesome!

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