gistlib
index.tsx// For loop for (let i = 0; i < 5; i++) { console.log(i); } // While loop let j = 0; while (j < 5) { console.log(j); j++; } // Do-while loop let k = 0; do { console.log(k); k++; } while (k < 5); 217 chars19 lines
// For loop for (let i = 0; i < 5; i++) { console.log(i); } // While loop let j = 0; while (j < 5) { console.log(j); j++; } // Do-while loop let k = 0; do { console.log(k); k++; } while (k < 5);
gistlibby LogSnag