How to delay in Javascript?

In Javascript, we may face situation where we may want to make the javascript file to wait certain seconds. In simple language, how can we delay a function for certain amount of time. For this kind of requirement we use¬†setTimeut function. SetTimeout Function setTimeout function is used to delay a process for certain amount of […]