I need the function to repeat after 8 seconds the first time and then again after 30 seconds. I have used setTimeout but not sure if this is the way to go about it.
Thank you.
I need the function to repeat after 8 seconds the first time and then
Share
You could use a conjunction of
setTimeoutandsetInterval: