Restart a function | Sololearn: Learn to code for FREE!

+3

Restart a function

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

2/21/2017 9:01:53 PM

Samuel Šúr

1 Answer

New Answer

+17

function infin(){infin();}//infinite loop after first execution