+ 2

Can you help me Test this setInterval() ?

So, 1000 Milliseconds is 1 second. But on this code, The milliseconds are 4 times slower than they should be. Like when the actual second is 3, the milliseconds will be 900 while it should be 3000. Is there a way to fix that / is the problem with how I wrote it, or what?

21st Oct 2019, 12:02 AM
Ginfio
Ginfio - avatar
2 Answers
+ 1
CalviŐ˛ umm, no. I forgot the code: https://code.sololearn.com/W1GeRtM2FgCb/?ref=app By the time it is 1 second, the millisecond is supposed to be 1000 - right? cuz 1 sec is 1000 millisec.
21st Oct 2019, 11:08 AM
Ginfio
Ginfio - avatar
0
CountDown inside CountDown? ...🧐
21st Oct 2019, 2:58 AM
CalviŐ˛
CalviŐ˛ - avatar