function arrayForLoops() { let myArray = []; for(let i = 9; i > 0; i-=2){ myArray.push(i) } return myArray; } console.log(arrayForLoops()) [ 9, 7, 5, 3, 1 ]