function randomNumber(min, max) { let result; result = Math.floor(Math.random() * (max - min + 1)) + min; return result; }