javascript infinite loop
while (true) {
//your code
}
javascript forever loop
x = 2;
while (x == x) {
//please add your code here
}
javascript infinite for loop
var userInput;
var more;
userInput=prompt("Select number from 0 to 9","")
userInput=parseInt(userInput);
for (index=userInput;index < 0;index>9 ) {
document.write("Not in range");
}
document.write("Not in range");
js infinite loop
var i = 1;
var sum = 0;
while(i < 5) {
sum += i;
}
println(sum);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us