The setTimeout() method executes a block of code after the specified time. The commonly used syntax of JavaScript setTimeout is: setTimeout(function, delay); Its parameters are: function - a function containing a block of code we want to execute ...

Markdown supported · ⌘↵ to post
Umashankar Yadav
software developer
Very Nice explanation