Skip to content

Instantly share code, notes, and snippets.

@joemaidman
Created February 3, 2016 15:40
Show Gist options
  • Save joemaidman/b5b61e079d9559c85b2c to your computer and use it in GitHub Desktop.
Save joemaidman/b5b61e079d9559c85b2c to your computer and use it in GitHub Desktop.
Random number 0 - 1
var x = Math.floor(Math.random() * (1 - 0 + 1)) + 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment