+ 1
I have a doubt jquery
Hello, I am wondering why this code doesn't work forever when I introduce while loop. Please, don't kill me, I am new. Thank for your attention https://code.sololearn.com/WeK05cEN36HL/?ref=app
2 Antworten
+ 1
JavaScript cannot handle infinite loops as it tries to do it all at once. Instead, use:
setInterval(function() {
// Your code
});
+ 1
Thank!!!