On minimizing the application JS timer not running
Application Type


I've written a JS code for displaying timer in DOM. When I minimize the application and comeback after few minutes the timer remains the same. For example, I'm minimizing the application at 9:30 and I open the application after a minute the application it starts running from 9:25.

Is there anything that I can do with this?

Hi Ajay,

You can use Javascript Timer using Web Worker (Async Function). Please use below link for the same -




Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.