Explain multiple setIntervals with same time.

Sathish - Mar 31 '18 - - Dev Community

Since JavaScript is single threaded, if I set two time intervel to run 2 functions with same time. Will it execute 2 functions or just one?

For example I have set two set intervals to run two function every 30 minutes.

Or it'll queue two functions for execution?

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player