Answers for "js infinite loop"

5

javascript infinite loop

while (true) {
    //your code
}
Posted by: Guest on March-08-2020
0

forever loop in js

while(2 == 2) {
  //your code here
}
Posted by: Guest on April-05-2020
-1

js infinite loop

var i = 1;
var sum = 0;
while(i < 5) {
    sum += i;
}
println(sum);
Posted by: Guest on September-16-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language