The function randInt(min, max) can be easily adapted for any application where you need to select a random integer within a certain range (i.e. from 1 to 100). The rest of the code is an example of how it can be used. |
Over 2000+ free Javascript
at JavaScriptBank.com Website