You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varmyVar;functionmyFunction(){myVar=setTimeout(alertFunc,3000);}functionalertFunc(){alert("Just a try!");}vartemp;functionrepeat_myFunction(){t=setTimeout(myFunction,k*1000)}// invoking new functionrepeat_myFunction()
setTimeout
has a thing... any larger value overflows and results in a negative, which causessetTimeout
to complete immediately.Thanks Greg.
Some libs, in order of how well they are actually implemented:
The text was updated successfully, but these errors were encountered: