9 4 1 2 loop condition c2 b6 28infinite loop 29

Solutions on MaxInterview for 9 4 1 2 loop condition c2 b6 28infinite loop 29 by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "9 4 1 2 loop condition c2 b6 28infinite loop 29"
Máximo
04 May 2019
1/*It is critical that the loop condition eventually becomes false. A loop
2for which the condition is never false is known as an infinite loop, 
3because it never stops iterating. A program that contains an infinite 
4loop will only stop after running out of memory or being manually 
5stopped (for example, using control+c in a terminal).*/
6
7//This is an infinite loop, because its condition will always be true.
8for (let i = 0; i > -1; i++) {
9   console.log("LaunchCode");
10}