Too Long; Didn't Read
While working on an <a href="https://www.amitmerchant.com/Handling-Time-Intervals-In-Javascript/electron.atom.io" target="_blank">Electron</a> app <a href="https://github.com/amitmerchant1990/pomolectron" target="_blank">Pomolectron</a>, I needed to handle different time intervals through <a href="https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setInterval" target="_blank">setInterval()</a> function of <a href="https://hackernoon.com/tagged/javascript" target="_blank">JavaScript</a>. I basically needed to implement three timers in my app: