Created
July 10, 2013 00:37
-
-
Save shanejdonnelly/5962590 to your computer and use it in GitHub Desktop.
This file contains 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
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