Last active
August 9, 2016 01:05
-
-
Save jarellano01/9d9c6b52259e600c24e8cf105c160a5a to your computer and use it in GitHub Desktop.
Random Number
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
| function RandomNumber(min, max){ | |
| var range = max-min + 1; | |
| return Math.floor(Math.random() * range) + min; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment