Created
August 25, 2013 11:10
-
-
Save pavelbinar/6333277 to your computer and use it in GitHub Desktop.
JavaScript: random umber
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 Number */ | |
var randomNumber = Math.floor(Math.random() * 2); | |
console.log(randomNumber); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment