master
const randomNum = (min, max) => Math.floor((Math.random() * (max - min)) + min); export default randomNum;