Skip to content

Instantly share code, notes, and snippets.

@shanejdonnelly
Created July 10, 2013 00:37
Show Gist options
  • Save shanejdonnelly/5962590 to your computer and use it in GitHub Desktop.
Save shanejdonnelly/5962590 to your computer and use it in GitHub Desktop.
rand: function(min, max){
var rand = Math.random() * (max - min) + min;
return Math.round(rand);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment