+ 3

Restart a function

How to restart a infinite function on a buttonclick in JavaScript?

21st Feb 2017, 9:01 PM
Samuel Šúr
Samuel Šúr - avatar
1 Réponse
+ 17
function infin(){infin();}//infinite loop after first execution
21st Feb 2017, 9:18 PM
Valen.H. ~
Valen.H. ~ - avatar