Created
October 24, 2015 20:23
-
-
Save xto3na/8aab35e21b21b16f67aa to your computer and use it in GitHub Desktop.
Random JS
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
var getRandom = function (min, max) { | |
return Math.random() * (max - min) + min; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment