infinite looping javascript code example
Example 1: javascript infinite loop
while (true) {
//your code
}
Example 2: forever loop in js
while(2 == 2) {
//your code here
}
while (true) {
//your code
}
while(2 == 2) {
//your code here
}