Clear all the timeout objects from webpage in-Javascript

Clear all the timeout objects from webpage in Javascript

setTimeout function is used to achieve asynchronous tasks in JavaScript. The return value of setTimeout is an Integer. This value can be passed to clearTimeout method to clear that timeout….