Node.js examples for Number:Random Number
Creating and Constraining Random Numbers
function randomBetween(min, max) { return min + Math.floor(Math.random() * (max - min + 1)); }