![]() The second parameter is in milliseconds, so 1000 = 1 sec, 250 = 0.25 sec, etc. Syntax : setTimeout(function, milliseconds) or tTimeout(function, milliseconds)Įxample : This example outputs "hello" to the console after 1 second.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |