0

How to create infinite loop?

25th Feb 2016, 1:22 PM
prince kanjaria
prince kanjaria - avatar
3 Answers
+ 4
while(true) { //some code } or for(;;) { //some code }
10th Jun 2016, 12:28 PM
James Flanders
+ 3
var x=-1; while(x>0){ //code... }
14th Jun 2016, 9:11 PM
Tommaso
0
for (;;) {}
19th Jun 2016, 3:50 PM
Celiena Varouqa
Celiena Varouqa - avatar