質問編集履歴
2
記述漏れ
title
CHANGED
File without changes
|
body
CHANGED
@@ -46,8 +46,11 @@
|
|
46
46
|
if(leftTimer < 0)clearTimeout(timerId);
|
47
47
|
countdownTimer(leftTimer);
|
48
48
|
updateTimer();
|
49
|
-
},1000)
|
49
|
+
},1000);
|
50
|
+
|
51
|
+
|
50
52
|
}
|
53
|
+
updateTimer();
|
51
54
|
|
52
55
|
|
53
56
|
|
1
記述ミス
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
consoleでh,m,sの値を出そうとするとundefinedと出てきて
|
2
|
+
timerStringをconsoleで出力すると出はするのですが、hの値が何故か9
|
3
|
+
担っていて困っています。
|
4
|
+
回答お願いします。
|
1
5
|
```html
|
2
6
|
<div "timer">00:00:00</div>
|
3
7
|
<div id = "wrapper">
|