infinite loop java script code example
Example 1: forever loop in js
while(2 == 2) {
//your code here
}
Example 2: javascript forever loop
x = 2;
while (x == x) {
//please add your code here
}
while(2 == 2) {
//your code here
}
x = 2;
while (x == x) {
//please add your code here
}