Timing Events in JavaScript : JavaScript Timers

With JavaScript, it is possible to execute some code after a specified time interval.
This is called timing events.

So it is like: if you want to execute a code 2 minutes later from the page load , you can do that with a simple trick and here the trick is given to us by “God of [...]