小喵 🐈 says to YSITD
const makeArray = (from, to) => Array.from({length: to - from + 1}, (_, i) => i + from)