Skip to content

Commit bd6e808

Browse files
Merge branch 'master' of github.com:mdn/learning-area
2 parents 4b340bd + 6044bb4 commit bd6e808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/asynchronous/loops-and-intervals/setinterval-stopwatch.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
const stopBtn = document.querySelector('.stop');
4545
const resetBtn = document.querySelector('.reset');
4646

47-
// When the start button is pressed, start running displayCount() once per second using displayInterval()
47+
// When the start button is pressed, start running displayCount() once per second using setInterval()
4848
startBtn.addEventListener('click', () => {
4949
stopWatch = setInterval(displayCount, 1000);
5050
startBtn.disabled = true;

0 commit comments

Comments
 (0)