Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/appacademy/Module-1-Resources
/ time
Function
time
w3/d4/setInterval.js:31–39 ·
view source on GitHub ↗
(count)
Source
from the content-addressed store, hash-verified
29
30
31
function
time(count){
32
debugger;
33
let
timerId = setInterval(() => {
34
debugger;
35
count--;
36
console.log(count);
37
if
(count === 0)
return
clearInterval(timerId);
38
}, 1000)
39
};
40
41
time(15)
Callers
1
setInterval.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected