Skip to content

Commit d3d55f4

Browse files
committed
Timer challenge jscomplete#3, not too hot
1 parent 3990d6c commit d3d55f4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
let counter = 1;
2+
setInterval(() => {
3+
console.log(`Hello World. ${counter}`);
4+
counter += 1;
5+
}, counter * 1000);

0 commit comments

Comments
 (0)