JavaScript Forever Loop
while(0 == 0) {
//whatever
}
Cautious Cardinal
while(0 == 0) {
//whatever
}
while (true) {
//your code
}
// Infinite loop with the terminating condition set to infinity
for (var i = 0; i < Infinity; i++) {
// statements
}
// Also you can try
for (;;) {
// statements
}