how can I pause the executing of a script for a number of seconds
<p>there is a built-in function (<code>sleep()</code>) in php that delays execution of the current script for a specified number of seconds. it can be put anywhere and it will do the job.<br>
here are its explanation:<br>
<a href="http://www.w3schools.com/php/func_misc_sleep.asp" rel="nofollow">http://www.w3schools.com/php/func_misc_sleep.asp</a><br>
<a href="http://php.net/manual/en/function.sleep.php" rel="nofollow">http://php.net/manual/en/function.sleep.php</a></p>

<hr>

<p><strong>my question:</strong> does a such function exist in javascript?</p>
