+ 5

How to alert box in looping?

30th Mar 2017, 6:41 AM
ą¤†ą¤¦ą¤æą¤¤ą„ą¤Æ ą¤®ą¤¦ą„ą¤§ą„‡ą¤¶ą¤æą¤Æą¤¾
ą¤†ą¤¦ą¤æą¤¤ą„ą¤Æ ą¤®ą¤¦ą„ą¤§ą„‡ą¤¶ą¤æą¤Æą¤¾ - avatar
2 Answers
+ 3
here is a possible code for a real situation : var x = 0; do { alert(x); x++; } while (x != 3)
30th Mar 2017, 7:25 AM
NCIBI Ali
NCIBI Ali - avatar
0
you mean in javascript? while(1) { alert("hahha :P"); } while 1 will always be repeated so you can't end this lol when you close one alert another will open But I don't think you ment this while writing question... :D
30th Mar 2017, 6:56 AM
Ivan Kerepčić
Ivan Kerepčić - avatar