generate a random int in javascript code example
Example: generate random integer javascript
var randomnumber = Math.floor(Math.random() * (maximum - minimum + 1)) + minimum;
var randomnumber = Math.floor(Math.random() * (maximum - minimum + 1)) + minimum;