There was an error while loading. Please reload this page.
1 parent 8919078 commit f73236dCopy full SHA for f73236d
1 file changed
1-js/06-advanced-functions/08-settimeout-setinterval/3-rewrite-settimeout/solution.md
@@ -15,7 +15,7 @@ function count() {
15
16
if (i == 1000000000) {
17
alert("Done in " + (Date.now() - start) + 'ms');
18
- cancelInterval(timer);
+ clearInterval(timer);
19
}
20
21
0 commit comments