for (let i = 1; i <= 5; ) { console.log("i = " + i); i++; } for (let i = 1; i <= 5; i++) { for (let j = 1; j <= 5; j++) { console.log("i=" + i, " j=" + j) } }