how do I create an infinite loop in JavaScript

<>

This question already has an answer here:

Answers


By omitting all parts of the head, the loop can also become infinite:

for (;;) {}

You can also use a while loop

while (true) {
    //your code
}

Need Your Help

JavaFX 8 Memory leak when Hiding Stage

java memory-leaks garbage-collection javafx javafx-8

I have a JavaFX application that minimizes to tray when the X button is pressed. I have been monitoring the application via VisualVM for memory trends.

Google Fabric: UiAutomation not connected

android crashlytics google-fabric

After deployment of an app to Google Play Beta I see next issue in Crashlytics (6 - 7 users are affected)