how to insert through while loop javascript code example Example: while loops js while (10 > 1) { console.log("HI"); }