js how to use until loops code example
Example 1: while loops js
while (10 > 1) {
console.log("HI");
}
Example 2: javascript while loop
while(condition) {
//whatever
}
while (10 > 1) {
console.log("HI");
}
while(condition) {
//whatever
}