Random JavaScript function
January 21, 2020
let min = 20;
let max = 30;
let randomNum = Math.floor(Math.random() * (max - min + 1)) + min;
console.log(randomNum);
January 21, 2020
let min = 20;
let max = 30;
let randomNum = Math.floor(Math.random() * (max - min + 1)) + min;
console.log(randomNum);