Set Timeout

*The setTimeOut() method calls function or evaluates an expression after a specified number of milliseconds.

Tip: 1000ms=1 seconds Tip: The function is only executed once.

If you need to repeat execution,use the setinterval() method to prrevent the function from running.

Using clearOutMethod to prevent functio0nj from running:

var myvar; function myFunctuion(function(){ alert(“Hello”) }, 3000); } funjction myStopFuction(){ learTimeOut(my Var); }