1 2 3 4
const randomInRange = (min, max) => { // min <= random number <= max return Math.floor(Math.random() * (max - min + 1)) + min; }