Answers for "javascript infinite for loop"

5

javascript infinite loop

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

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");
Posted by: Guest on February-17-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language