Iterate Odd Numbers With a For Loop

PHOTO EMBED

Mon Apr 11 2022 20:58:35 GMT+0000 (Coordinated Universal Time)

Saved by @Luduwanda #javascriptreact

// Setup
const myArray = [];

for(let i = 1;i<10; i +=2){
  myArray.push(i)
}

content_copyCOPY