📅  最后修改于: 2022-03-11 15:04:19.835000             🧑  作者: Mango
/*It is critical that the loop condition eventually becomes false. A loop
for which the condition is never false is known as an infinite loop,
because it never stops iterating. A program that contains an infinite
loop will only stop after running out of memory or being manually
stopped (for example, using control+c in a terminal).*/
//This is an infinite loop, because its condition will always be true.
for (let i = 0; i > -1; i++) {
console.log("LaunchCode");
}