Can i ask what the function of setTimeOut method in javascript?As below:
function startTime() { var today=new Date(); var h=today.getHours(); var m=today.get
Not sure you what you want.
setTimeout is a method of the global window object. It executes the given function (or evaluates the given string) after the time given as second parameter passed.
setTimeout
Read more about setTimeout.