for (let i = 0; i <= 9; i++){ if (i % 2 !== 0) console.log(i); } let i = 0; while (i < 10) { console.log(i); i++; }