Restart a function | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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