function generateRandomNumber(minNum, maxNum) { return Math.floor(Math.random() * (maxNum- minNum+ 1)) + minNum; } generateRandomNumber(5, 15);
No comments:
Post a Comment