What happens if you don't eventually stop the loop? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What happens if you don't eventually stop the loop?

20th Jan 2016, 6:43 AM
Roy Koper
5 Answers
+ 2
as long as the conditions are right, it works.
1st Mar 2016, 3:55 AM
Amir Mohammad Monfaredi
Amir Mohammad Monfaredi - avatar
0
infinate loop it means that loop will never stop and some times browser will stop working
9th Jun 2016, 8:13 PM
Arsalan MuhammadHussain
Arsalan MuhammadHussain - avatar
0
that is forever it doesn't mean a bug but it can sometimes make a bug if you use it wrong. I am not sure I am just using what I learned in code . org.
22nd Jun 2016, 7:00 AM
sophie
sophie - avatar
0
Depending on it's usage it could be a nuisance, but in some situations you may need an infinite loop for maybe detecting something in a game.
30th Jun 2016, 4:35 AM
Cocoa
Cocoa - avatar
0
break
5th Aug 2016, 1:07 PM
Tammie Younger
Tammie Younger - avatar