const startNumber = 10, stopNumber = 0, skip = 1; for (let i = startNumber; i >= stopNumber; i -= skip) { console.log(i); } /* 10 9 8 7 6 5 4 3 2 1 0 */