Skip to content

Commit fccf197

Browse files
committed
set timeout function created
1 parent 3431f1b commit fccf197

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

blockmainthrd.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
console.log("Started");
2+
3+
setTimeout(function()
4+
{
5+
console.log("After 5 sec");
6+
}, 5000);
7+
8+
console.log("Ended");

0 commit comments

Comments
 (0)