diff --git a/Practice/#8 setInterval.js b/Practice/#8 setInterval.js index 0a99b219..9a188ac1 100644 --- a/Practice/#8 setInterval.js +++ b/Practice/#8 setInterval.js @@ -4,5 +4,6 @@ var timer = setInterval(function(){ time += 2; if(time > 8){ clearInterval(timer); + console.log("good work"); } -},2000); \ No newline at end of file +},2000);